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

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

Issue 2574593003: Fix Windows build warning LNK4217 for blink_platform.dll. (Closed)
Patch Set: Rebase and change new code file's license 2016-->2017 Created 3 years, 11 months 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..b88c3b20a0e7337c6ae8b10585bb19786cfa653a 100644
--- a/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h
+++ b/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h
@@ -5,17 +5,16 @@
#ifndef GeometryStructTraits_h
#define GeometryStructTraits_h
-#include "platform/PlatformExport.h"
-#include "ui/gfx/geometry/mojo/geometry.mojom-blink.h"
+#include "third_party/WebKit/public/platform/WebSize.h"
+#include "ui/gfx/geometry/mojo/geometry.mojom-shared.h"
namespace mojo {
template <>
-struct PLATFORM_EXPORT
- StructTraits<gfx::mojom::blink::Size::DataView, ::blink::WebSize> {
+struct StructTraits<gfx::mojom::SizeDataView, ::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);
+ static bool Read(gfx::mojom::SizeDataView, ::blink::WebSize* out);
};
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698