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

Unified Diff: chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm

Issue 288005: First fix to minimize copying of image data. (Closed)
Patch Set: Modify gyp Created 11 years, 2 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: chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
diff --git a/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm b/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
index 37c61ae118c20e8e32432b2480112b013d3ec8f2..a6414f462f979af59dd983ab80b68b0660b3c12f 100644
--- a/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
+++ b/chrome/browser/cocoa/bookmark_bar_toolbar_view_unittest.mm
@@ -33,7 +33,7 @@ class MockThemeProvider : public ThemeProvider {
MOCK_CONST_METHOD2(GetDisplayProperty, bool(int, int*));
MOCK_CONST_METHOD0(ShouldUseNativeFrame, bool());
MOCK_CONST_METHOD1(HasCustomImage, bool(int));
- MOCK_CONST_METHOD2(GetRawData, bool(int, std::vector<unsigned char>*));
+ MOCK_CONST_METHOD1(GetRawData, RefCountedMemory*(int));
// OSX stuff
MOCK_CONST_METHOD1(GetNSImageNamed, NSImage*(int));

Powered by Google App Engine
This is Rietveld 408576698