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

Unified Diff: mojo/services/native_viewport/native_viewport_service.cc

Issue 165383002: Ensure that OnCreated() gets sent before OnBoundsChanged() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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 | mojo/services/native_viewport/native_viewport_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/native_viewport_service.cc
diff --git a/mojo/services/native_viewport/native_viewport_service.cc b/mojo/services/native_viewport/native_viewport_service.cc
index f79fae252993fab9c13821cbdad68b67fbc3a58e..8b6a34b57ab2de1dca57328b5868577357157b96 100644
--- a/mojo/services/native_viewport/native_viewport_service.cc
+++ b/mojo/services/native_viewport/native_viewport_service.cc
@@ -41,6 +41,7 @@ class NativeViewportImpl
services::NativeViewport::Create(context(), this);
native_viewport_->Init(bounds);
client()->OnCreated();
+ OnBoundsChanged(bounds);
}
virtual void Show() MOJO_OVERRIDE {
« no previous file with comments | « no previous file | mojo/services/native_viewport/native_viewport_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698