Index: third_party/WebKit/Source/core/frame/FullscreenController.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FullscreenController.cpp b/third_party/WebKit/Source/core/frame/FullscreenController.cpp |
index ce21bdb161d574109a03a120b6d4709a446d626c..546a2ecc5b9a0c4301de75831e2cb87efe1fd1e7 100644 |
--- a/third_party/WebKit/Source/core/frame/FullscreenController.cpp |
+++ b/third_party/WebKit/Source/core/frame/FullscreenController.cpp |
@@ -130,6 +130,7 @@ void FullscreenController::DidExitFullscreen() { |
next_frame = next_frame->Tree().TraverseNext(); |
frame = next_frame; |
} |
+ web_view_base_->LayerTreeView()->SetIsFullscreen(false); |
} |
void FullscreenController::EnterFullscreen(LocalFrame& frame) { |
@@ -253,6 +254,8 @@ void FullscreenController::UpdateSize() { |
} |
} |
} |
+ if (state_ == State::kFullscreen) |
+ web_view_base_->LayerTreeView()->SetIsFullscreen(true); |
} |
void FullscreenController::DidUpdateLayout() { |