| Index: chrome/browser/extensions/api/extension_action/page_action_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/extension_action/page_action_apitest.cc b/chrome/browser/extensions/api/extension_action/page_action_apitest.cc
|
| index dbb9671ed8369f131d7bf447b7332cbad4c959a6..faeac8cbbcfa8af09dc164a3f5bef1f03bb29b0a 100644
|
| --- a/chrome/browser/extensions/api/extension_action/page_action_apitest.cc
|
| +++ b/chrome/browser/extensions/api/extension_action/page_action_apitest.cc
|
| @@ -115,7 +115,7 @@ IN_PROC_BROWSER_TEST_F(PageActionApiTest, AddPopup) {
|
| << "Clicking on the page action should have caused a popup to be added.";
|
|
|
| ASSERT_STREQ("/a_popup.html",
|
| - page_action->GetPopupUrl(tab_id).path().c_str());
|
| + page_action->GetPopupUrl(tab_id).path().as_string().c_str());
|
|
|
| // Now change the popup from a_popup.html to a_second_popup.html .
|
| // Load a page which removes the popup using chrome.pageAction.setPopup().
|
| @@ -129,7 +129,7 @@ IN_PROC_BROWSER_TEST_F(PageActionApiTest, AddPopup) {
|
|
|
| ASSERT_TRUE(page_action->HasPopup(tab_id));
|
| ASSERT_STREQ("/another_popup.html",
|
| - page_action->GetPopupUrl(tab_id).path().c_str());
|
| + page_action->GetPopupUrl(tab_id).path().as_string().c_str());
|
| }
|
|
|
| // Test that calling chrome.pageAction.setPopup() can remove a popup.
|
|
|