| Index: content/test/test_webkit_platform_support.cc
|
| diff --git a/content/test/test_webkit_platform_support.cc b/content/test/test_webkit_platform_support.cc
|
| index f8a6e0e5a94361419afaedcbec5bf54543aafb55..bb52f12e2eccb74db0a2e7bb8a0fbe69ff0465c8 100644
|
| --- a/content/test/test_webkit_platform_support.cc
|
| +++ b/content/test/test_webkit_platform_support.cc
|
| @@ -46,6 +46,8 @@
|
| using WebKit::WebScriptController;
|
| using webkit::WebLayerTreeViewImplForTesting;
|
|
|
| +namespace content {
|
| +
|
| TestWebKitPlatformSupport::TestWebKitPlatformSupport() {
|
| v8::V8::SetCounterFunction(base::StatsTable::FindLocation);
|
|
|
| @@ -178,7 +180,8 @@ WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
|
| }
|
|
|
| WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
|
| - WebKit::WebLocalizedString::Name name, const WebKit::WebString& value) {
|
| + WebKit::WebLocalizedString::Name name,
|
| + const WebKit::WebString& value) {
|
| if (name == WebKit::WebLocalizedString::ValidationRangeUnderflow)
|
| return ASCIIToUTF16("range underflow");
|
| if (name == WebKit::WebLocalizedString::ValidationRangeOverflow)
|
| @@ -212,8 +215,7 @@ WebKit::WebThemeEngine* TestWebKitPlatformSupport::themeEngine() {
|
| }
|
| #endif
|
|
|
| -WebKit::WebCompositorSupport*
|
| -TestWebKitPlatformSupport::compositorSupport() {
|
| +WebKit::WebCompositorSupport* TestWebKitPlatformSupport::compositorSupport() {
|
| return &compositor_support_;
|
| }
|
|
|
| @@ -291,9 +293,8 @@ WebKit::WebString TestWebKitPlatformSupport::webKitRootDir() {
|
| return WebKit::WebString::fromUTF8(path_ascii.c_str());
|
| }
|
|
|
| -
|
| WebKit::WebLayerTreeView*
|
| - TestWebKitPlatformSupport::createLayerTreeViewForTesting() {
|
| +TestWebKitPlatformSupport::createLayerTreeViewForTesting() {
|
| scoped_ptr<WebLayerTreeViewImplForTesting> view(
|
| new WebLayerTreeViewImplForTesting());
|
|
|
| @@ -303,8 +304,7 @@ WebKit::WebLayerTreeView*
|
| }
|
|
|
| WebKit::WebLayerTreeView*
|
| - TestWebKitPlatformSupport::createLayerTreeViewForTesting(
|
| - TestViewType type) {
|
| +TestWebKitPlatformSupport::createLayerTreeViewForTesting(TestViewType type) {
|
| DCHECK_EQ(TestViewTypeUnitTest, type);
|
| return createLayerTreeViewForTesting();
|
| }
|
| @@ -318,3 +318,5 @@ WebKit::WebData TestWebKitPlatformSupport::readFromFile(
|
|
|
| return WebKit::WebData(buffer.data(), buffer.size());
|
| }
|
| +
|
| +} // namespace content
|
|
|