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

Unified Diff: webkit/port/bindings/v8/v8_proxy.cpp

Issue 92090: When doing the scheme check for applying V8 extensions, check against the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/bindings/v8/v8_proxy.cpp
===================================================================
--- webkit/port/bindings/v8/v8_proxy.cpp (revision 14255)
+++ webkit/port/bindings/v8/v8_proxy.cpp (working copy)
@@ -44,7 +44,7 @@
#include "ChromiumBridge.h"
#include "DOMObjectsInclude.h"
-
+#include "DocumentLoader.h"
#include "ScriptController.h"
#include "V8DOMMap.h"
@@ -1962,7 +1962,7 @@
for (V8ExtensionList::iterator it = m_extensions.begin();
it != m_extensions.end(); ++it) {
if (it->scheme.length() > 0 &&
- it->scheme != m_frame->document()->url().protocol())
+ it->scheme != m_frame->loader()->activeDocumentLoader()->url().protocol())
continue;
extensionNames[index++] = it->extension->name();
@@ -3165,7 +3165,7 @@
return v8::Handle<v8::Object>();
// Special case: Because of evaluateInNewContext() one DOMWindow can have
- // multipe contexts and multiple global objects associated with it. When
+ // multiple contexts and multiple global objects associated with it. When
// code running in one of those contexts accesses the window object, we
// want to return the global object associated with that context, not
// necessarily the first global object associated with that DOMWindow.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698