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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mus.cc

Issue 1472063007: mustash: enable GPU Compositing in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 5 years, 1 month 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | content/renderer/render_view_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mus.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_mus.cc b/content/browser/renderer_host/render_widget_host_view_mus.cc
index 08e0058c355185bd42011ae0efded45d41c93d59..14ed29eafed2bb59ba0551b9c7027057d98e47b9 100644
--- a/content/browser/renderer_host/render_widget_host_view_mus.cc
+++ b/content/browser/renderer_host/render_widget_host_view_mus.cc
@@ -62,7 +62,11 @@ bool RenderWidgetHostViewMus::IsShowing() {
void RenderWidgetHostViewMus::SetSize(const gfx::Size& size) {
size_ = size;
- window_->window()->SetBounds(gfx::Rect(size));
+ gfx::Rect bounds = window_->window()->bounds();
+ bounds.set_x(10);
Fady Samuel 2015/11/30 23:06:54 Please add a TODO(fsamuel): above to figure out po
Peng 2015/12/01 15:22:46 Done.
+ bounds.set_y(150);
+ bounds.set_size(size);
+ window_->window()->SetBounds(bounds);
host_->WasResized();
}
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698