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

Unified Diff: chrome/browser/dom_ui/dom_ui_theme_source_unittest.cc

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/dom_ui/dom_ui_theme_source_unittest.cc
diff --git a/chrome/browser/dom_ui/dom_ui_theme_source_unittest.cc b/chrome/browser/dom_ui/dom_ui_theme_source_unittest.cc
index 653c2ef118a1e6d8924181872e1cfc4b280c4a6e..f33bf2746d9a5de60d188dcc0c6b141f5908e3a9 100644
--- a/chrome/browser/dom_ui/dom_ui_theme_source_unittest.cc
+++ b/chrome/browser/dom_ui/dom_ui_theme_source_unittest.cc
@@ -19,8 +19,8 @@ class MockThemeSource : public DOMUIThemeSource {
result_data_size_(0) {
}
- virtual void SendResponse(int request_id, RefCountedBytes* data) {
- result_data_size_ = data ? data->data.size() : 0;
+ virtual void SendResponse(int request_id, RefCountedMemory* data) {
+ result_data_size_ = data ? data->size() : 0;
result_request_id_ = request_id;
}

Powered by Google App Engine
This is Rietveld 408576698