| Index: webkit/support/platform_support_mac.mm
|
| diff --git a/webkit/support/platform_support_mac.mm b/webkit/support/platform_support_mac.mm
|
| index 2681cb4c3150ddef40ac1752c253e1a5347e16b4..07dc2bf6799413cf4ac5541cb80de587e297b6f0 100644
|
| --- a/webkit/support/platform_support_mac.mm
|
| +++ b/webkit/support/platform_support_mac.mm
|
| @@ -15,7 +15,7 @@
|
| #include "base/mac/bundle_locations.h"
|
| #include "base/mac/mac_util.h"
|
| #include "base/path_service.h"
|
| -#include "base/string16.h"
|
| +#include "base/string16.h.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "grit/webkit_resources.h"
|
| #include "ui/base/resource/data_pack.h"
|
| @@ -173,24 +173,24 @@ void AfterShutdown() {
|
|
|
| } // namespace webkit_support
|
|
|
| -string16 TestWebKitPlatformSupport::GetLocalizedString(int message_id) {
|
| +base::string16 TestWebKitPlatformSupport::GetLocalizedString(int message_id) {
|
| // |g_resource_data_pack| is null on unit tests.
|
| // But som unit tests reach GetLocalizedString().
|
| if (!g_resource_data_pack)
|
| - return string16();
|
| + return base::string16();
|
| base::StringPiece res;
|
| if (!g_resource_data_pack->GetStringPiece(message_id, &res)) {
|
| LOG(FATAL) << "failed to load webkit string with id " << message_id;
|
| }
|
|
|
| // Data packs hold strings as either UTF8 or UTF16.
|
| - string16 msg;
|
| + base::string16 msg;
|
| switch (g_resource_data_pack->GetTextEncodingType()) {
|
| case ui::DataPack::UTF8:
|
| msg = UTF8ToUTF16(res);
|
| break;
|
| case ui::DataPack::UTF16:
|
| - msg = string16(reinterpret_cast<const char16*>(res.data()),
|
| + msg = base::string16(reinterpret_cast<const char16*>(res.data()),
|
| res.length() / 2);
|
| break;
|
| case ui::DataPack::BINARY:
|
|
|