Remove DAWN_NATIVE_EXPORT declaration from dawn_platform::Platform

This patch fixes a LNK4217 error when building Dawn perf tests with
the latest VS2019 by removing DAWN_NATIVE_EXPORT declaration from
dawn_platform::Platform().

BUG=dawn:396

Change-Id: I232ac741f6356981c917fa4f1ed8ddf3bce280ae
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/31800
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Jiawei Shao 2020-11-04 09:44:37 +00:00 committed by Commit Bot service account
parent db8766bb23
commit 98e078134d
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ namespace dawn_platform {
GPUWork, // Actual GPU work GPUWork, // Actual GPU work
}; };
class DAWN_NATIVE_EXPORT Platform { class Platform {
public: public:
Platform(); Platform();
virtual ~Platform(); virtual ~Platform();