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

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

Issue 2723973002: Make V8Binding helpers return LocalFrame/LocalDOMWindow as appropriate (Closed)
Patch Set: Created 3 years, 10 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/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index a95f10fc30b00e4b0c321788ff8a452a85917c96..4415fa47b24807316c59dd94dbca93cad94bdfce 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -506,8 +506,7 @@ WebLocalFrame* WebLocalFrame::frameForCurrentContext() {
}
WebLocalFrame* WebLocalFrame::frameForContext(v8::Local<v8::Context> context) {
- return WebLocalFrameImpl::fromFrame(
- toLocalFrame(toFrameIfNotDetached(context)));
+ return WebLocalFrameImpl::fromFrame(toFrameIfNotDetached(context));
}
WebLocalFrame* WebLocalFrame::fromFrameOwnerElement(const WebElement& element) {

Powered by Google App Engine
This is Rietveld 408576698