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

Unified Diff: Source/bindings/v8/custom/V8WindowCustom.cpp

Issue 31063004: Have Frame::loader() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | « Source/bindings/v8/V8WindowShell.cpp ('k') | Source/core/dom/CSSSelectorWatch.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8WindowCustom.cpp
diff --git a/Source/bindings/v8/custom/V8WindowCustom.cpp b/Source/bindings/v8/custom/V8WindowCustom.cpp
index 95ff7fe750af1eb593f162ece9f980f42d0f9f3a..b3ccb3b7edcbcf4fc65f444eeee8742a9045b420 100644
--- a/Source/bindings/v8/custom/V8WindowCustom.cpp
+++ b/Source/bindings/v8/custom/V8WindowCustom.cpp
@@ -217,7 +217,7 @@ void V8Window::openerAttributeSetterCustom(v8::Local<v8::String> name, v8::Local
// imp->frame() cannot be null,
// otherwise, SameOrigin check would have failed.
ASSERT(imp->frame());
- imp->frame()->loader()->setOpener(0);
+ imp->frame()->loader().setOpener(0);
}
// Delete the accessor from this object.
@@ -453,8 +453,8 @@ bool V8Window::namedSecurityCheckCustom(v8::Local<v8::Object> host, v8::Local<v8
return false;
// Notify the loader's client if the initial document has been accessed.
- if (target->loader()->stateMachine()->isDisplayingInitialEmptyDocument())
- target->loader()->didAccessInitialDocument();
+ if (target->loader().stateMachine()->isDisplayingInitialEmptyDocument())
+ target->loader().didAccessInitialDocument();
if (key->IsString()) {
DEFINE_STATIC_LOCAL(AtomicString, nameOfProtoProperty, ("__proto__", AtomicString::ConstructFromLiteral));
@@ -496,8 +496,8 @@ bool V8Window::indexedSecurityCheckCustom(v8::Local<v8::Object> host, uint32_t i
return false;
// Notify the loader's client if the initial document has been accessed.
- if (target->loader()->stateMachine()->isDisplayingInitialEmptyDocument())
- target->loader()->didAccessInitialDocument();
+ if (target->loader().stateMachine()->isDisplayingInitialEmptyDocument())
+ target->loader().didAccessInitialDocument();
Frame* childFrame = target->tree().scopedChild(index);
« no previous file with comments | « Source/bindings/v8/V8WindowShell.cpp ('k') | Source/core/dom/CSSSelectorWatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698