diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-27 02:46:05 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-27 02:46:05 +0000 |
commit | cef372905872fa0c92ed9a163cfa3cc66bde87f1 (patch) | |
tree | 352a6540642497068bfec633c8dc3a0f486ab73f /ui | |
parent | cac326b5df02531fd2f37c83a2f0872166f12195 (diff) | |
download | chromium_src-cef372905872fa0c92ed9a163cfa3cc66bde87f1.zip chromium_src-cef372905872fa0c92ed9a163cfa3cc66bde87f1.tar.gz chromium_src-cef372905872fa0c92ed9a163cfa3cc66bde87f1.tar.bz2 |
Delete some dead code.
Found by a tweaked -Wunused-member-function Nuno Lopes is working on.
BUG=none
R=brettw@chromium.org, miket@chromium.org, rsleevi@chromium.org, sky@chromium.org
TBR=rogerta, sky
Review URL: https://codereview.chromium.org/213363003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/accessibility/ax_tree_unittest.cc | 8 | ||||
-rw-r--r-- | ui/gfx/color_analysis_unittest.cc | 9 |
2 files changed, 0 insertions, 17 deletions
diff --git a/ui/accessibility/ax_tree_unittest.cc b/ui/accessibility/ax_tree_unittest.cc index 7dcf59e..f4c609e 100644 --- a/ui/accessibility/ax_tree_unittest.cc +++ b/ui/accessibility/ax_tree_unittest.cc @@ -32,16 +32,8 @@ class FakeAXTreeDelegate : public AXTreeDelegate { new_root_ids_.push_back(new_root->id()); } - void Reset() { - deleted_ids_.clear(); - created_ids_.clear(); - changed_ids_.clear(); - new_root_ids_.clear(); - } - const std::vector<int32>& deleted_ids() { return deleted_ids_; } const std::vector<int32>& created_ids() { return created_ids_; } - const std::vector<int32>& changed_ids() { return changed_ids_; } const std::vector<int32>& new_root_ids() { return new_root_ids_; } private: diff --git a/ui/gfx/color_analysis_unittest.cc b/ui/gfx/color_analysis_unittest.cc index 7757eb9..b8234d6 100644 --- a/ui/gfx/color_analysis_unittest.cc +++ b/ui/gfx/color_analysis_unittest.cc @@ -104,15 +104,6 @@ class MockKMeanImageSampler : public color_utils::KMeanImageSampler { prebaked_sample_results_.push_back(sample); } - void Reset() { - prebaked_sample_results_.clear(); - ResetCounter(); - } - - void ResetCounter() { - current_result_index_ = 0; - } - virtual int GetSample(int width, int height) OVERRIDE { if (current_result_index_ >= prebaked_sample_results_.size()) { current_result_index_ = 0; |