Index: content/shell/browser/webkit_test_controller.cc |
diff --git a/content/shell/browser/webkit_test_controller.cc b/content/shell/browser/webkit_test_controller.cc |
index 5b6a5795b1a8bf9025bd5ac05e674f2ccad7bde4..8f30675fd910364018618b124146c15f99bf0f6b 100644 |
--- a/content/shell/browser/webkit_test_controller.cc |
+++ b/content/shell/browser/webkit_test_controller.cc |
@@ -26,6 +26,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/url_constants.h" |
+#include "content/shell/browser/layout_test/layout_test_devtools_frontend.h" |
#include "content/shell/browser/shell.h" |
#include "content/shell/browser/shell_browser_context.h" |
#include "content/shell/browser/shell_content_browser_client.h" |
@@ -583,7 +584,8 @@ void WebKitTestController::OnClearDevToolsLocalStorage() { |
StoragePartition* storage_partition = |
BrowserContext::GetStoragePartition(browser_context, NULL); |
storage_partition->GetDOMStorageContext()->DeleteLocalStorage( |
- content::GetDevToolsPathAsURL("", "").GetOrigin()); |
+ content::LayoutTestDevToolsFrontend::GetDevToolsPathAsURL("", "") |
+ .GetOrigin()); |
} |
void WebKitTestController::OnShowDevTools(const std::string& settings, |