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

Unified Diff: mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc

Issue 335903004: Fix mojo build on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
diff --git a/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc b/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
index d9e152ba2997e430f8d7ffd25b532a85086904e6..e1f19b11de7e9fab2c15ef98e8d9ae75af70e4e6 100644
--- a/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
+++ b/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc
@@ -199,7 +199,7 @@ class DestructionObserver : public NodeObserver, public ViewObserver {
NodeObserver::DispositionChangePhase phase) OVERRIDE {
if (phase != NodeObserver::DISPOSITION_CHANGED)
return;
- std::set<Id>::const_iterator it = nodes_->find(node->id());
+ std::set<Id>::iterator it = nodes_->find(node->id());
if (it != nodes_->end())
nodes_->erase(it);
if (CanQuit())
@@ -212,7 +212,7 @@ class DestructionObserver : public NodeObserver, public ViewObserver {
ViewObserver::DispositionChangePhase phase) OVERRIDE {
if (phase != ViewObserver::DISPOSITION_CHANGED)
return;
- std::set<Id>::const_iterator it = views_->find(view->id());
+ std::set<Id>::iterator it = views_->find(view->id());
if (it != views_->end())
views_->erase(it);
if (CanQuit())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698