Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 9cdd057e07da6128d9dcab886181e7023a7f84c7..d33521c293c2e49f7a65d3c19fcd859d927e1a72 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -17,6 +17,7 @@ |
#include "ui/aura/hit_test.h" |
#include "ui/aura/window.h" |
#include "ui/aura/window_types.h" |
+#include "ui/base/ui_base_types.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/compositor/layer.h" |
#include "ui/gfx/screen.h" |
@@ -118,7 +119,7 @@ void RenderWidgetHostViewAura::InitAsFullscreen( |
window_->Init(ui::Layer::LAYER_HAS_TEXTURE); |
window_->SetParent(NULL); |
- window_->Fullscreen(); |
+ window_->SetIntProperty(aura::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); |
Show(); |
Focus(); |
// TODO(derat): The window is visible but it's not being updated. Figure out |