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

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

Issue 372163005: Fixes for re-enabling more MSVC level 4 warnings: mojo/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually test |was_called| Created 6 years, 5 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/public/cpp/view_manager/lib/node.cc
diff --git a/mojo/services/public/cpp/view_manager/lib/node.cc b/mojo/services/public/cpp/view_manager/lib/node.cc
index 6cb9feb458a01f2f84ed69d7d2c2a83cf2c88106..3f704d59dd1a10db53ee6b8bc80cb0344f8032c2 100644
--- a/mojo/services/public/cpp/view_manager/lib/node.cc
+++ b/mojo/services/public/cpp/view_manager/lib/node.cc
@@ -354,7 +354,7 @@ void Node::Embed(const String& url) {
Node::Node()
: manager_(NULL),
- id_(-1),
+ id_(static_cast<Id>(-1)),
parent_(NULL),
active_view_(NULL) {}
« no previous file with comments | « mojo/public/cpp/environment/tests/logging_unittest.cc ('k') | mojo/services/public/cpp/view_manager/lib/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698