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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleMacTest.cpp

Issue 1456873003: More regular Platform implementations in unit tests (reland.) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: have GN disable c4267 also Created 5 years, 1 month 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: third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp b/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
index d28c72b19bcdcd64feb103caa9d30e3b902bd4fb..05469d88cd7052499430a10c149b3424b38cf09c 100644
--- a/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
+++ b/third_party/WebKit/Source/platform/text/LocaleMacTest.cpp
@@ -27,7 +27,7 @@
#include "platform/text/LocaleMac.h"
#include "platform/DateComponents.h"
-#include "platform/TestingPlatformSupport.h"
+#include "platform/testing/TestingPlatformSupport.h"
#include "public/platform/Platform.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "wtf/DateMath.h"
@@ -39,8 +39,6 @@ namespace blink {
class LocalePlatformSupport : public TestingPlatformSupport {
public:
- LocalePlatformSupport() : TestingPlatformSupport(TestingPlatformSupport::Config()) { }
-
WebString queryLocalizedString(WebLocalizedString::Name /*name*/) override
{
return WebString::fromUTF8("Week $2, $1");

Powered by Google App Engine
This is Rietveld 408576698