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

Side by Side Diff: third_party/WebKit/Source/platform/LayoutLocale.cpp

Issue 2810413002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of platform/. (Closed)
Patch Set: Created 3 years, 8 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/LayoutLocale.h" 5 #include "platform/LayoutLocale.h"
6 6
7 #include "platform/Language.h" 7 #include "platform/Language.h"
8 #include "platform/fonts/AcceptLanguagesResolver.h" 8 #include "platform/fonts/AcceptLanguagesResolver.h"
9 #include "platform/text/ICUError.h" 9 #include "platform/text/ICUError.h"
10 #include "platform/text/LocaleToScriptMapping.h" 10 #include "platform/text/LocaleToScriptMapping.h"
11 #include "wtf/HashMap.h" 11 #include "platform/wtf/HashMap.h"
12 #include "wtf/text/AtomicStringHash.h" 12 #include "platform/wtf/text/AtomicStringHash.h"
13 #include "wtf/text/StringHash.h" 13 #include "platform/wtf/text/StringHash.h"
14 14
15 #include <hb.h> 15 #include <hb.h>
16 #include <unicode/locid.h> 16 #include <unicode/locid.h>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 const LayoutLocale* LayoutLocale::default_ = nullptr; 20 const LayoutLocale* LayoutLocale::default_ = nullptr;
21 const LayoutLocale* LayoutLocale::system_ = nullptr; 21 const LayoutLocale* LayoutLocale::system_ = nullptr;
22 const LayoutLocale* LayoutLocale::default_for_han_ = nullptr; 22 const LayoutLocale* LayoutLocale::default_for_han_ = nullptr;
23 bool LayoutLocale::default_for_han_computed_ = false; 23 bool LayoutLocale::default_for_han_computed_ = false;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 DCHECK_EQ(length_needed, length_needed2); 233 DCHECK_EQ(length_needed, length_needed2);
234 if (U_SUCCESS(status) && length_needed == length_needed2) 234 if (U_SUCCESS(status) && length_needed == length_needed2)
235 return AtomicString::FromUTF8(buffer.Data(), length_needed); 235 return AtomicString::FromUTF8(buffer.Data(), length_needed);
236 } 236 }
237 237
238 NOTREACHED(); 238 NOTREACHED();
239 return string_; 239 return string_;
240 } 240 }
241 241
242 } // namespace blink 242 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/LayoutLocale.h ('k') | third_party/WebKit/Source/platform/LayoutTestSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698