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

Unified Diff: content/shell/webkit_test_runner.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 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 | « content/shell/shell_url_request_context_getter.cc ('k') | content/test/layout_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/webkit_test_runner.cc
diff --git a/content/shell/webkit_test_runner.cc b/content/shell/webkit_test_runner.cc
index d229b245d6a27953bc7bd06c2ce8624bb89bd270..e9eafa690041378a3d48812abc86a06b0583d23c 100644
--- a/content/shell/webkit_test_runner.cc
+++ b/content/shell/webkit_test_runner.cc
@@ -521,7 +521,7 @@ void WebKitTestRunner::captureHistoryForWindow(
WebMediaPlayer* WebKitTestRunner::createWebMediaPlayer(
WebFrame* frame, const WebURL& url, WebMediaPlayerClient* client)
{
- if (!test_media_stream_client_.get()) {
+ if (!test_media_stream_client_) {
test_media_stream_client_.reset(
new webkit_glue::TestMediaStreamClient());
}
« no previous file with comments | « content/shell/shell_url_request_context_getter.cc ('k') | content/test/layout_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698