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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/ScriptRunIterator.cpp

Issue 2795413003: Rewrite references to "wtf/" to "platform/wtf/" in platform/fonts. (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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ScriptRunIterator.h" 5 #include "ScriptRunIterator.h"
6 6
7 #include <algorithm>
7 #include "platform/text/ICUError.h" 8 #include "platform/text/ICUError.h"
8 #include "wtf/Threading.h" 9 #include "platform/wtf/Threading.h"
9 #include <algorithm>
10 10
11 namespace blink { 11 namespace blink {
12 12
13 typedef ScriptData::PairedBracketType PairedBracketType; 13 typedef ScriptData::PairedBracketType PairedBracketType;
14 14
15 const int ScriptData::kMaxScriptCount = 20; 15 const int ScriptData::kMaxScriptCount = 20;
16 16
17 ScriptData::~ScriptData() {} 17 ScriptData::~ScriptData() {}
18 18
19 void ICUScriptData::getScripts(UChar32 ch, Vector<UScriptCode>& dst) const { 19 void ICUScriptData::getScripts(UChar32 ch, Vector<UScriptCode>& dst) const {
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 } 355 }
356 return true; 356 return true;
357 } 357 }
358 358
359 UScriptCode ScriptRunIterator::resolveCurrentScript() const { 359 UScriptCode ScriptRunIterator::resolveCurrentScript() const {
360 UScriptCode result = m_currentSet.at(0); 360 UScriptCode result = m_currentSet.at(0);
361 return result == USCRIPT_COMMON ? m_commonPreferred : result; 361 return result == USCRIPT_COMMON ? m_commonPreferred : result;
362 } 362 }
363 363
364 } // namespace blink 364 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698