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

Unified Diff: chrome/browser/ui/search/instant_extended_browsertest.cc

Issue 12498002: InstantExtended: Adding InstantRestrictedIDCache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using MRUCache to implement InstantRestrcitedIDCache. Created 7 years, 9 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/ui/search/instant_extended_browsertest.cc
diff --git a/chrome/browser/ui/search/instant_extended_browsertest.cc b/chrome/browser/ui/search/instant_extended_browsertest.cc
index d0cca0e8426789b8ceface61f252a3df1cceef56..798f206a22876dcda5acbe3829ea3afbd9e40b9a 100644
--- a/chrome/browser/ui/search/instant_extended_browsertest.cc
+++ b/chrome/browser/ui/search/instant_extended_browsertest.cc
@@ -1234,7 +1234,7 @@ IN_PROC_BROWSER_TEST_F(InstantExtendedTest, RestrictedItemReadback) {
EXPECT_EQ(kQueryString, result);
// Set the query text to the first restricted autocomplete item.
- int rid = 0;
+ int rid = 1;
stream.str(std::string());
stream << "apiHandle.setRestrictedValue(" << rid << ")";
EXPECT_TRUE(ExecuteScript(stream.str()));

Powered by Google App Engine
This is Rietveld 408576698