From 8d6cba4c551a773707f441d5f2955948ba6b2450 Mon Sep 17 00:00:00 2001 From: "abarth@chromium.org" Date: Fri, 2 Sep 2011 10:05:19 +0000 Subject: Update Chrome to use WebKitPlatformSupport instead of WebKitClient. Review URL: http://codereview.chromium.org/7831035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99349 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/in_process_webkit/webkit_thread.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'content/browser/in_process_webkit/webkit_thread.cc') diff --git a/content/browser/in_process_webkit/webkit_thread.cc b/content/browser/in_process_webkit/webkit_thread.cc index 0613339..b9e1156 100644 --- a/content/browser/in_process_webkit/webkit_thread.cc +++ b/content/browser/in_process_webkit/webkit_thread.cc @@ -5,7 +5,7 @@ #include "content/browser/in_process_webkit/webkit_thread.h" #include "base/command_line.h" -#include "content/browser/in_process_webkit/browser_webkitclient_impl.h" +#include "content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h" #include "content/common/content_switches.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" @@ -45,9 +45,9 @@ WebKitThread::InternalWebKitThread::~InternalWebKitThread() { } void WebKitThread::InternalWebKitThread::Init() { - DCHECK(!webkit_client_.get()); - webkit_client_.reset(new BrowserWebKitClientImpl); - WebKit::initialize(webkit_client_.get()); + DCHECK(!webkit_platform_support_.get()); + webkit_platform_support_.reset(new BrowserWebKitPlatformSupportImpl); + WebKit::initialize(webkit_platform_support_.get()); webkit_glue::EnableWebCoreLogChannels( CommandLine::ForCurrentProcess()->GetSwitchValueASCII( switches::kWebCoreLogChannels)); @@ -61,6 +61,6 @@ void WebKitThread::InternalWebKitThread::Init() { } void WebKitThread::InternalWebKitThread::CleanUp() { - DCHECK(webkit_client_.get()); + DCHECK(webkit_platform_support_.get()); WebKit::shutdown(); } -- cgit v1.1