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

Unified Diff: content/browser/web_contents/web_drag_dest_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_drag_dest_mac_unittest.mm
diff --git a/content/browser/web_contents/web_drag_dest_mac_unittest.mm b/content/browser/web_contents/web_drag_dest_mac_unittest.mm
index 1dc7fefef39bd9b6dcfea79ebd2e3929e956bfe3..028f13765ddb34f7f36ad304bee4ea52f5712dd0 100644
--- a/content/browser/web_contents/web_drag_dest_mac_unittest.mm
+++ b/content/browser/web_contents/web_drag_dest_mac_unittest.mm
@@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "base/mac/scoped_nsautorelease_pool.h"
-#import "base/memory/scoped_nsobject.h"
+#import "base/mac/scoped_nsobject.h"
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "content/browser/renderer_host/test_render_view_host.h"
@@ -53,7 +53,7 @@ class WebDragDestTest : public RenderViewHostImplTestHarness {
}
base::mac::ScopedNSAutoreleasePool pool_;
- scoped_nsobject<WebDragDest> drag_dest_;
+ base::scoped_nsobject<WebDragDest> drag_dest_;
};
// Make sure nothing leaks.
@@ -64,7 +64,7 @@ TEST_F(WebDragDestTest, Init) {
// Test flipping of coordinates given a point in window coordinates.
TEST_F(WebDragDestTest, Flip) {
NSPoint windowPoint = NSZeroPoint;
- scoped_nsobject<NSWindow> window([[CocoaTestHelperWindow alloc] init]);
+ base::scoped_nsobject<NSWindow> window([[CocoaTestHelperWindow alloc] init]);
NSPoint viewPoint =
[drag_dest_ flipWindowPointToView:windowPoint
view:[window contentView]];

Powered by Google App Engine
This is Rietveld 408576698