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

Unified Diff: mojo/services/html_viewer/html_viewer.cc

Issue 405653003: mojo: Make InterfacePtr<> testable in if() statements without .get(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT 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/html_viewer/html_viewer.cc
diff --git a/mojo/services/html_viewer/html_viewer.cc b/mojo/services/html_viewer/html_viewer.cc
index 431bbacdca5bd722d580a8e6f85baea90c08d90e..8490e691b3c954be3ab02342754fad693d7ba387 100644
--- a/mojo/services/html_viewer/html_viewer.cc
+++ b/mojo/services/html_viewer/html_viewer.cc
@@ -83,7 +83,7 @@ class HTMLViewer : public ApplicationDelegate,
}
void MaybeLoad() {
- if (document_view_ && response_.get())
+ if (document_view_ && response_)
document_view_->Load(response_.Pass());
}

Powered by Google App Engine
This is Rietveld 408576698