Chromium Code Reviews| 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); |
| } |