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

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

Issue 2769263004: Remove Frame::host() method (Closed)
Patch Set: Created 3 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: 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 9ce0a57f847cedca63b206d3d3bf2b452633b83d..e59f652321e17a9c3ac2b6a1246f026596b6c4d2 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -2250,7 +2250,7 @@ bool WebLocalFrameImpl::find(int identifier,
return false;
// Unlikely, but just in case we try to find-in-page on a detached frame.
- DCHECK(frame()->host());
+ DCHECK(frame()->page());
// Up-to-date, clean tree is required for finding text in page, since it
// relies on TextIterator to look over the text.

Powered by Google App Engine
This is Rietveld 408576698