| Index: chrome/browser/search/instant_service_unittest.cc
|
| diff --git a/chrome/browser/search/instant_service_unittest.cc b/chrome/browser/search/instant_service_unittest.cc
|
| index 4b5f0f77da51b7aee1213d727bc40238d979234c..dcfe926beea6ab1bfe505207a8adff12bd865489 100644
|
| --- a/chrome/browser/search/instant_service_unittest.cc
|
| +++ b/chrome/browser/search/instant_service_unittest.cc
|
| @@ -30,7 +30,6 @@
|
| class MockInstantServiceObserver : public InstantServiceObserver {
|
| public:
|
| MOCK_METHOD1(DefaultSearchProviderChanged, void(bool));
|
| - MOCK_METHOD1(OmniboxStartMarginChanged, void(int));
|
| };
|
|
|
| class InstantServiceTest : public InstantUnitTestBase {
|
| @@ -51,10 +50,6 @@ class InstantServiceTest : public InstantUnitTestBase {
|
| return instant_service_->instant_search_prerenderer();
|
| }
|
|
|
| - void UpdateOmniboxStartMargin(int start_margin) {
|
| - instant_service_->OnOmniboxStartMarginChanged(start_margin);
|
| - }
|
| -
|
| scoped_ptr<MockInstantServiceObserver> instant_service_observer_;
|
| };
|
|
|
| @@ -159,13 +154,6 @@ TEST_F(InstantServiceEnabledTest,
|
| EXPECT_NE(old_prerenderer, GetInstantSearchPrerenderer());
|
| }
|
|
|
| -TEST_F(InstantServiceTest, OmniboxStartMarginChanged) {
|
| - int new_start_margin = 92;
|
| - EXPECT_CALL(*instant_service_observer_.get(),
|
| - OmniboxStartMarginChanged(new_start_margin)).Times(1);
|
| - UpdateOmniboxStartMargin(new_start_margin);
|
| -}
|
| -
|
| TEST_F(InstantServiceTest, GetSuggestionFromServiceSide) {
|
| auto profile = suggestions::SuggestionsProfile();
|
| profile.add_suggestions();
|
|
|