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

Unified Diff: Source/web/WebTestingSupport.cpp

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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: Source/web/WebTestingSupport.cpp
diff --git a/Source/web/WebTestingSupport.cpp b/Source/web/WebTestingSupport.cpp
index 70920fdf2e31a29b3cdf98c43bb257415ef3d7d2..6ea35576bbf347e90d72a96dc1e9e88a5b201296 100644
--- a/Source/web/WebTestingSupport.cpp
+++ b/Source/web/WebTestingSupport.cpp
@@ -26,6 +26,7 @@
#include "config.h"
#include "public/web/WebTestingSupport.h"
+#include "bindings/modules/v8/V8InternalsPartial.h"
#include "core/testing/v8/WebCoreTestSupport.h"
#include "public/web/WebLocalFrame.h"
#include <v8/include/v8.h>
@@ -34,6 +35,7 @@ namespace blink {
void WebTestingSupport::injectInternalsObject(WebLocalFrame* frame)
{
+ V8InternalsPartial::initialize();
v8::HandleScope handleScope(v8::Isolate::GetCurrent());
WebCoreTestSupport::injectInternalsObject(frame->mainWorldScriptContext());
}

Powered by Google App Engine
This is Rietveld 408576698