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

Unified Diff: content/browser/browser_plugin/test_browser_plugin_embedder.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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: content/browser/browser_plugin/test_browser_plugin_embedder.cc
diff --git a/content/browser/browser_plugin/test_browser_plugin_embedder.cc b/content/browser/browser_plugin/test_browser_plugin_embedder.cc
index bae9943ec8cce6ff19a88808f87e6827477f392f..a513d0fd4be6ed308c3e83ea5995a10856c43619 100644
--- a/content/browser/browser_plugin/test_browser_plugin_embedder.cc
+++ b/content/browser/browser_plugin/test_browser_plugin_embedder.cc
@@ -21,7 +21,7 @@ TestBrowserPluginEmbedder::~TestBrowserPluginEmbedder() {
void TestBrowserPluginEmbedder::GetRenderViewHostCallback(
RenderViewHost* rvh, int x, int y) {
last_rvh_at_position_response_ = rvh;
- if (message_loop_runner_)
+ if (message_loop_runner_.get())
message_loop_runner_->Quit();
}

Powered by Google App Engine
This is Rietveld 408576698