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

Unified Diff: mojo/services/view_manager/public/cpp/lib/view_private.cc

Issue 880743002: Plumb ViewportMetrics change notifications around the world and back. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix typo Created 5 years, 11 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
Index: mojo/services/view_manager/public/cpp/lib/view_private.cc
diff --git a/mojo/services/view_manager/public/cpp/lib/view_private.cc b/mojo/services/view_manager/public/cpp/lib/view_private.cc
index 395aacf7c22f49950fb56e9c3b9f1312bcd7664e..20232e8c01537edfe5d29878cb699ff27f0eaa10 100644
--- a/mojo/services/view_manager/public/cpp/lib/view_private.cc
+++ b/mojo/services/view_manager/public/cpp/lib/view_private.cc
@@ -8,6 +8,7 @@ namespace mojo {
ViewPrivate::ViewPrivate(View* view)
: view_(view) {
+ CHECK(view);
}
ViewPrivate::~ViewPrivate() {
« no previous file with comments | « mojo/services/view_manager/public/cpp/lib/view_private.h ('k') | mojo/services/view_manager/public/cpp/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698