Index: content/browser/screen_orientation/screen_orientation.h |
diff --git a/content/browser/screen_orientation/screen_orientation.h b/content/browser/screen_orientation/screen_orientation.h |
index 68a16158a1abbff5dbddde183836a853f3c9cf88..af3d84e8120aae435468cedb18d5a92d52c4da5e 100644 |
--- a/content/browser/screen_orientation/screen_orientation.h |
+++ b/content/browser/screen_orientation/screen_orientation.h |
@@ -30,8 +30,7 @@ class ScreenOrientation : public device::mojom::ScreenOrientation, |
void UnlockOrientation() override; |
// WebContentsObserver: |
- void DidNavigateMainFrame(const LoadCommittedDetails& details, |
- const FrameNavigateParams& params) override; |
+ void DidFinishNavigation(NavigationHandle* navigation_handle) override; |
std::unique_ptr<ScreenOrientationProvider> provider_; |
WebContentsFrameBindingSet<device::mojom::ScreenOrientation> bindings_; |