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: Source/bindings/core/v8/V8DOMWrapper.h

Issue 1323453005: Modifies V8WrapperInstantiationScope::SecurityCheck to only call BindingSecurity::shouldAllowAccess… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed haraken@'s comments. Created 5 years, 3 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 | Source/bindings/core/v8/V8DOMWrapper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8DOMWrapper.h
diff --git a/Source/bindings/core/v8/V8DOMWrapper.h b/Source/bindings/core/v8/V8DOMWrapper.h
index 36847e08d5d13b9e40680205bbfbc7fb4f6b4f12..4effd0697a064eca0ee39364987b9d0f0c84f47a 100644
--- a/Source/bindings/core/v8/V8DOMWrapper.h
+++ b/Source/bindings/core/v8/V8DOMWrapper.h
@@ -124,7 +124,7 @@ public:
if (contextForWrapper == m_context)
return;
if (withSecurityCheck)
- SecurityCheck(isolate, contextForWrapper);
+ securityCheck(isolate, contextForWrapper);
m_context = v8::Local<v8::Context>::New(isolate, contextForWrapper);
m_didEnterContext = true;
m_context->Enter();
@@ -140,7 +140,7 @@ public:
v8::Local<v8::Context> context() const { return m_context; }
private:
- void SecurityCheck(v8::Isolate*, v8::Local<v8::Context> contextForWrapper);
+ void securityCheck(v8::Isolate*, v8::Local<v8::Context> contextForWrapper);
bool m_didEnterContext;
v8::Local<v8::Context> m_context;
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8DOMWrapper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698