Chromium Code Reviews| Index: chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc |
| =================================================================== |
| --- chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc (revision 191609) |
| +++ chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc (working copy) |
| @@ -402,7 +402,7 @@ |
| WebContents* web_contents = |
| WebContents::FromRenderViewHost(render_view_host_); |
| - if (chrome::GetViewType(web_contents) == chrome::VIEW_TYPE_TAB_CONTENTS) { |
| + if (chrome::GetViewType(web_contents) == extensions::VIEW_TYPE_TAB_CONTENTS) { |
|
Yoyo Zhou
2013/04/01 17:36:51
This is in namespace extensions
|
| WebContents* web_contents = |
| dispatcher()->delegate()->GetAssociatedWebContents(); |
| CHECK(web_contents); |
| @@ -445,7 +445,7 @@ |
| WebContents* web_contents = |
| WebContents::FromRenderViewHost(render_view_host_); |
| - if (chrome::GetViewType(web_contents) == chrome::VIEW_TYPE_TAB_CONTENTS) { |
| + if (chrome::GetViewType(web_contents) == extensions::VIEW_TYPE_TAB_CONTENTS) { |
| WebContents* web_contents = |
| dispatcher()->delegate()->GetAssociatedWebContents(); |
| CHECK(web_contents); |