Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h

Issue 2574593003: Fix Windows build warning LNK4217 for blink_platform.dll. (Closed)
Patch Set: Do not export geometry struct traits from blink_platform.dll Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h
diff --git a/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h b/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h
index 42afd6604329b13a79a26d14450246c672bb102a..7d7cb01039e12b353f39525a0aa977dcfb643ecd 100644
--- a/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h
+++ b/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h
@@ -5,14 +5,12 @@
#ifndef GeometryStructTraits_h
#define GeometryStructTraits_h
-#include "platform/PlatformExport.h"
#include "ui/gfx/geometry/mojo/geometry.mojom-blink.h"
namespace mojo {
template <>
-struct PLATFORM_EXPORT
- StructTraits<gfx::mojom::blink::Size::DataView, ::blink::WebSize> {
+struct StructTraits<gfx::mojom::blink::Size::DataView, ::blink::WebSize> {
static int width(const ::blink::WebSize& size) { return size.width; }
static int height(const ::blink::WebSize& size) { return size.height; }
static bool Read(gfx::mojom::blink::Size::DataView, ::blink::WebSize* out);

Powered by Google App Engine
This is Rietveld 408576698