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

Unified Diff: chrome/browser/extensions/api/extension_action/page_action_apitest.cc

Issue 10827191: Convert extension action icons code to use ImageSkia instead of SkBitmap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 4 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/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 1b7d599000f9afa22ff599f4689c078df8a36039..128c75073ae5eef3785e4de34eee455aab3f50db 100644
--- a/chrome/browser/extensions/api/extension_action/page_action_apitest.cc
+++ b/chrome/browser/extensions/api/extension_action/page_action_apitest.cc
@@ -17,6 +17,7 @@
#include "chrome/common/extensions/extension_action.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/web_contents.h"
+#include "ui/gfx/image/image_skia.h"
using extensions::Extension;
@@ -62,7 +63,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, PageAction) {
// Test that we received the changes.
tab_id = chrome::GetActiveTabContents(browser())->restore_tab_helper()->
session_id().id();
- EXPECT_FALSE(action->GetIcon(tab_id).IsEmpty());
+ EXPECT_FALSE(action->GetIcon(tab_id).empty());
}
// Test that calling chrome.pageAction.setPopup() can enable a popup.

Powered by Google App Engine
This is Rietveld 408576698