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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: Fix GCCallbackTest 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/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index a0f4215c3546c69052934c29d5ac46df55d0b8bf..eae96427f365980ce34d2d837cb96f85b0f08c82 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -190,11 +190,9 @@ void FrameLoaderClientImpl::runScriptsAtDocumentReady(bool documentIsEmpty) {
void FrameLoaderClientImpl::didCreateScriptContext(
v8::Local<v8::Context> context,
- int extensionGroup,
int worldId) {
if (m_webFrame->client())
- m_webFrame->client()->didCreateScriptContext(m_webFrame, context,
- extensionGroup, worldId);
+ m_webFrame->client()->didCreateScriptContext(m_webFrame, context, worldId);
}
void FrameLoaderClientImpl::willReleaseScriptContext(
@@ -205,13 +203,7 @@ void FrameLoaderClientImpl::willReleaseScriptContext(
worldId);
}
-bool FrameLoaderClientImpl::allowScriptExtension(const String& extensionName,
- int extensionGroup,
- int worldId) {
- if (m_webFrame->contentSettingsClient())
- return m_webFrame->contentSettingsClient()->allowScriptExtension(
- extensionName, extensionGroup, worldId);
-
+bool FrameLoaderClientImpl::allowScriptExtensions() {
return true;
}
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/SuspendableScriptExecutor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698