From cef372905872fa0c92ed9a163cfa3cc66bde87f1 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Thu, 27 Mar 2014 02:46:05 +0000 Subject: 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 --- ui/accessibility/ax_tree_unittest.cc | 8 -------- ui/gfx/color_analysis_unittest.cc | 9 --------- 2 files changed, 17 deletions(-) (limited to 'ui') 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& deleted_ids() { return deleted_ids_; } const std::vector& created_ids() { return created_ids_; } - const std::vector& changed_ids() { return changed_ids_; } const std::vector& 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; -- cgit v1.1