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

Unified Diff: content/browser/web_contents/web_contents_view_mac_unittest.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 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/web_contents/web_contents_view_mac_unittest.mm
diff --git a/content/browser/web_contents/web_contents_view_mac_unittest.mm b/content/browser/web_contents/web_contents_view_mac_unittest.mm
index e1ef379dfe518f8f8ce18771c6ae9b718a381772..71f7e48dcc2f21eacc1d73ebc6d550fb39ddf29d 100644
--- a/content/browser/web_contents/web_contents_view_mac_unittest.mm
+++ b/content/browser/web_contents/web_contents_view_mac_unittest.mm
@@ -4,10 +4,10 @@
#import "content/browser/web_contents/web_contents_view_mac.h"
-#include "base/memory/scoped_nsobject.h"
-#import "ui/base/test/ui_cocoa_test_helper.h"
+#include "base/mac/scoped_nsobject.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
+#import "ui/base/test/ui_cocoa_test_helper.h"
namespace {
@@ -15,8 +15,8 @@ class WebContentsViewCocoaTest : public ui::CocoaTest {
};
TEST_F(WebContentsViewCocoaTest, NonWebDragSourceTest) {
- scoped_nsobject<WebContentsViewCocoa>
- view([[WebContentsViewCocoa alloc] init]);
+ base::scoped_nsobject<WebContentsViewCocoa> view(
+ [[WebContentsViewCocoa alloc] init]);
// Tests that |draggingSourceOperationMaskForLocal:| returns the expected mask
// when dragging without a WebDragSource - i.e. when |startDragWithDropData:|

Powered by Google App Engine
This is Rietveld 408576698