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

Unified Diff: sky/engine/bindings/core/v8/ScriptWrappable.cpp

Issue 719063002: Revert "Remove support for MSVC" (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/bindings/core/v8/ScriptWrappable.cpp
diff --git a/sky/engine/bindings/core/v8/ScriptWrappable.cpp b/sky/engine/bindings/core/v8/ScriptWrappable.cpp
index ca0870943f198d172ac6f50265cf398020d43210..2111f8ad5cd8b52f3533150f05b35d5a8da60ffd 100644
--- a/sky/engine/bindings/core/v8/ScriptWrappable.cpp
+++ b/sky/engine/bindings/core/v8/ScriptWrappable.cpp
@@ -10,6 +10,9 @@
namespace blink {
+#if COMPILER(MSVC)
+__declspec(align(4))
+#endif
struct SameSizeAsScriptWrappableBase { };
COMPILE_ASSERT(sizeof(ScriptWrappableBase) <= sizeof(SameSizeAsScriptWrappableBase), ScriptWrappableBase_should_stay_small);

Powered by Google App Engine
This is Rietveld 408576698