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

Unified Diff: ui/base/resource/resource_bundle_unittest.cc

Issue 1601583002: Cleanup: Remove unused ui::ResourceBundle::ImageRTL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « ui/base/resource/resource_bundle_mac.mm ('k') | ui/base/resource/resource_bundle_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/resource_bundle_unittest.cc
diff --git a/ui/base/resource/resource_bundle_unittest.cc b/ui/base/resource/resource_bundle_unittest.cc
index eac9ef37306c3a47e2da5b208780987ee64ec447..93a40f698fa24bc22afa9bf23acc03e88022a495 100644
--- a/ui/base/resource/resource_bundle_unittest.cc
+++ b/ui/base/resource/resource_bundle_unittest.cc
@@ -72,9 +72,7 @@ class MockResourceBundleDelegate : public ui::ResourceBundle::Delegate {
MOCK_METHOD2(GetPathForLocalePack, base::FilePath(
const base::FilePath& pack_path, const std::string& locale));
MOCK_METHOD1(GetImageNamed, gfx::Image(int resource_id));
- MOCK_METHOD2(GetNativeImageNamed,
- gfx::Image(int resource_id,
- ui::ResourceBundle::ImageRTL rtl));
+ MOCK_METHOD1(GetNativeImageNamed, gfx::Image(int resource_id));
MOCK_METHOD2(LoadDataResourceBytes,
base::RefCountedStaticMemory*(int resource_id,
ui::ScaleFactor scale_factor));
@@ -250,7 +248,7 @@ TEST_F(ResourceBundleTest, DelegateGetNativeImageNamed) {
.Times(Between(0, 1))
.WillOnce(Return(empty_image));
EXPECT_CALL(delegate,
- GetNativeImageNamed(resource_id, ui::ResourceBundle::RTL_DISABLED))
+ GetNativeImageNamed(resource_id))
.Times(Between(0, 1))
.WillOnce(Return(empty_image));
« no previous file with comments | « ui/base/resource/resource_bundle_mac.mm ('k') | ui/base/resource/resource_bundle_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698