summaryrefslogtreecommitdiffstats
path: root/extensions/shell/renderer
diff options
context:
space:
mode:
authorkalman <kalman@chromium.org>2015-03-10 14:29:31 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-10 21:30:55 +0000
commit9b8643f37bd4d9193a5cb764c757c0581d166e82 (patch)
tree05467aa871f0a3f83019aedbe77296231f20c55f /extensions/shell/renderer
parent3d5823f1b9b8220cacd112aaa9f97793e0b8317e (diff)
downloadchromium_src-9b8643f37bd4d9193a5cb764c757c0581d166e82.zip
chromium_src-9b8643f37bd4d9193a5cb764c757c0581d166e82.tar.gz
chromium_src-9b8643f37bd4d9193a5cb764c757c0581d166e82.tar.bz2
[Extensions] Remove ChromeV8Context and DispatcherDelegate::CreateScriptContext.
ChromeV8Context was a vacuous override, it's just a ScriptContext, and by replacing instances of ScriptContext the delegate method can be deleted. It also led me to deleting Feature::CreateAvailability which referenced ChromeV8Context for some reason. R=rockot@chromium.org Review URL: https://codereview.chromium.org/995913002 Cr-Commit-Position: refs/heads/master@{#319976}
Diffstat (limited to 'extensions/shell/renderer')
-rw-r--r--extensions/shell/renderer/shell_content_renderer_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/shell/renderer/shell_content_renderer_client.cc b/extensions/shell/renderer/shell_content_renderer_client.cc
index 519079f..cedcc1f 100644
--- a/extensions/shell/renderer/shell_content_renderer_client.cc
+++ b/extensions/shell/renderer/shell_content_renderer_client.cc
@@ -10,8 +10,8 @@
#include "content/public/renderer/render_frame_observer_tracker.h"
#include "content/public/renderer/render_thread.h"
#include "extensions/common/extensions_client.h"
-#include "extensions/renderer/default_dispatcher_delegate.h"
#include "extensions/renderer/dispatcher.h"
+#include "extensions/renderer/dispatcher_delegate.h"
#include "extensions/renderer/extension_frame_helper.h"
#include "extensions/renderer/extension_helper.h"
#include "extensions/renderer/guest_view/extensions_guest_view_container.h"
@@ -49,7 +49,7 @@ void ShellContentRendererClient::RenderThreadStarted() {
extensions_renderer_client_.reset(new ShellExtensionsRendererClient);
ExtensionsRendererClient::Set(extensions_renderer_client_.get());
- extension_dispatcher_delegate_.reset(new DefaultDispatcherDelegate());
+ extension_dispatcher_delegate_.reset(new DispatcherDelegate());
// Must be initialized after ExtensionsRendererClient.
extension_dispatcher_.reset(