summaryrefslogtreecommitdiffstats
path: root/chrome/test/render_view_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/render_view_test.cc')
-rw-r--r--chrome/test/render_view_test.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/test/render_view_test.cc b/chrome/test/render_view_test.cc
index 69f7d8f..f80c845 100644
--- a/chrome/test/render_view_test.cc
+++ b/chrome/test/render_view_test.cc
@@ -24,6 +24,7 @@
#include "webkit/glue/webkit_glue.h"
using WebKit::WebFrame;
+using WebKit::WebScriptController;
using WebKit::WebScriptSource;
using WebKit::WebString;
using WebKit::WebURLRequest;
@@ -74,12 +75,12 @@ void RenderViewTest::SetUp() {
// hacky, but this is the world we live in...
webkit_glue::SetJavaScriptFlags(L" --expose-gc");
WebKit::initialize(&webkitclient_);
- WebKit::registerExtension(BaseJsV8Extension::Get());
- WebKit::registerExtension(JsonSchemaJsV8Extension::Get());
- WebKit::registerExtension(EventBindings::Get());
- WebKit::registerExtension(ExtensionApiTestV8Extension::Get());
- WebKit::registerExtension(ExtensionProcessBindings::Get());
- WebKit::registerExtension(RendererExtensionBindings::Get());
+ WebScriptController::registerExtension(BaseJsV8Extension::Get());
+ WebScriptController::registerExtension(JsonSchemaJsV8Extension::Get());
+ WebScriptController::registerExtension(EventBindings::Get());
+ WebScriptController::registerExtension(ExtensionApiTestV8Extension::Get());
+ WebScriptController::registerExtension(ExtensionProcessBindings::Get());
+ WebScriptController::registerExtension(RendererExtensionBindings::Get());
EventBindings::SetRenderThread(&render_thread_);
// TODO(aa): Should some of this go to some other inheriting class?