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

Unified Diff: content/common/sandbox_mac_fontloading_unittest.mm

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/common/resource_messages.cc ('k') | content/common/sandbox_mac_unittest_helper.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_mac_fontloading_unittest.mm
diff --git a/content/common/sandbox_mac_fontloading_unittest.mm b/content/common/sandbox_mac_fontloading_unittest.mm
index 959af350f2eed17c3d39b15b8136cccd9d3eca01..77b211fb7fb2cb79e166f008a259eb8aa323aa00 100644
--- a/content/common/sandbox_mac_fontloading_unittest.mm
+++ b/content/common/sandbox_mac_fontloading_unittest.mm
@@ -44,7 +44,7 @@ bool FontLoadingTestCase::BeforeSandboxInit() {
}
font_shmem_.reset(new base::SharedMemory);
- if (!font_shmem_.get()) {
+ if (!font_shmem_) {
LOG(ERROR) << "Failed to create shared memory object.";
return false;
}
« no previous file with comments | « content/common/resource_messages.cc ('k') | content/common/sandbox_mac_unittest_helper.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698