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

Unified Diff: Source/core/page/PageSerializer.cpp

Issue 189573002: Convert HTMLFrameOwnerElement and FocusController to use Frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve FocusController handling of RemoteFrames Created 6 years, 9 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: Source/core/page/PageSerializer.cpp
diff --git a/Source/core/page/PageSerializer.cpp b/Source/core/page/PageSerializer.cpp
index 6cff82f3532b51622b593c30c1776647c8eedd4c..befcb03877f19603d86cdeefae583d53d6178a1f 100644
--- a/Source/core/page/PageSerializer.cpp
+++ b/Source/core/page/PageSerializer.cpp
@@ -154,7 +154,7 @@ void SerializerMarkupAccumulator::appendCustomAttributes(StringBuilder& out, con
return;
const HTMLFrameOwnerElement& frameOwner = toHTMLFrameOwnerElement(element);
- LocalFrame* frame = frameOwner.contentFrame();
+ LocalFrame* frame = toLocalFrame(frameOwner.contentFrame());
if (!frame)
return;

Powered by Google App Engine
This is Rietveld 408576698