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

Unified Diff: Source/modules/geolocation/testing/InternalsGeolocation.cpp

Issue 317493002: Change FrameTree to return Frames instead of LocalFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed conflicts Created 6 years, 6 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/modules/geolocation/testing/InternalsGeolocation.cpp
diff --git a/Source/modules/geolocation/testing/InternalsGeolocation.cpp b/Source/modules/geolocation/testing/InternalsGeolocation.cpp
index 4de6488e9f88d72f6ee60b3fb7ce715f4ccd8be6..5386d3713de8ee44ccd5a661c9ab49fc4df5a04f 100644
--- a/Source/modules/geolocation/testing/InternalsGeolocation.cpp
+++ b/Source/modules/geolocation/testing/InternalsGeolocation.cpp
@@ -47,7 +47,7 @@ void InternalsGeolocation::setGeolocationClientMock(Internals&, Document* docume
ASSERT(document && document->frame());
GeolocationClientMock* client = new GeolocationClientMock();
- for (LocalFrame* childFrame = document->page()->mainFrame(); childFrame; childFrame = childFrame->tree().nextSibling())
+ for (Frame* childFrame = document->page()->mainFrame(); childFrame; childFrame = childFrame->tree().nextSibling())
dcheng 2014/06/04 18:06:37 I think you can just delete the for statement alto
kenrb 2014/06/04 20:34:47 This landed less than a day ago. I put a question
GeolocationController::from(document->frame())->setClientForTest(client);
}

Powered by Google App Engine
This is Rietveld 408576698