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

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

Issue 259793002: Cleanup: Remove unnecessary .get() in test's scoped_ptr-s. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 | content/browser/browser_plugin/test_browser_plugin_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_host_browsertest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
index 3c7504879b9999dd0e1901a1c47cd607c4750737..77996a85cbc3e09ae4fa9cb67a6ee7bc27052215 100644
--- a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
+++ b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
@@ -104,7 +104,7 @@ class TestBrowserPluginHostFactory : public BrowserPluginHostFactory {
virtual BrowserPluginGuestManager*
CreateBrowserPluginGuestManager() OVERRIDE {
guest_manager_instance_count_++;
- if (message_loop_runner_.get())
+ if (message_loop_runner_)
message_loop_runner_->Quit();
return new TestBrowserPluginGuestManager();
}
@@ -207,7 +207,7 @@ class MessageObserver : public WebContentsObserver {
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE {
if (message.type() == message_id_) {
message_received_ = true;
- if (message_loop_runner_.get())
+ if (message_loop_runner_)
message_loop_runner_->Quit();
}
return false;
« no previous file with comments | « no previous file | content/browser/browser_plugin/test_browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698