| Index: chrome/browser/ui/browser_browsertest.cc
|
| diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc
|
| index 173945ff678f1639dc505890b7c149dbce629a86..d35cecb2c7078d12424477853f805d9da37e34ff 100644
|
| --- a/chrome/browser/ui/browser_browsertest.cc
|
| +++ b/chrome/browser/ui/browser_browsertest.cc
|
| @@ -164,11 +164,12 @@ class BrowserTest : public ExtensionBrowserTest {
|
|
|
| // Returns the app extension aptly named "App Test".
|
| const Extension* GetExtension() {
|
| - const ExtensionList* extensions =
|
| + const ExtensionSet* extensions =
|
| browser()->profile()->GetExtensionService()->extensions();
|
| - for (size_t i = 0; i < extensions->size(); ++i) {
|
| - if ((*extensions)[i]->name() == "App Test")
|
| - return (*extensions)[i];
|
| + for (ExtensionSet::const_iterator it = extensions->begin();
|
| + it != extensions->end(); ++it) {
|
| + if ((*it)->name() == "App Test")
|
| + return *it;
|
| }
|
| NOTREACHED();
|
| return NULL;
|
|
|