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

Side by Side Diff: skia/ext/skia_utils_base.cc

Issue 1540963004: Switch to standard integer types in skia/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed some Created 5 years 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 <stdint.h>
6
5 #include "skia/ext/skia_utils_base.h" 7 #include "skia/ext/skia_utils_base.h"
6 8
7 namespace skia { 9 namespace skia {
8 10
9 bool ReadSkString(base::PickleIterator* iter, SkString* str) { 11 bool ReadSkString(base::PickleIterator* iter, SkString* str) {
10 int reply_length; 12 int reply_length;
11 const char* reply_text; 13 const char* reply_text;
12 14
13 if (!iter->ReadData(&reply_text, &reply_length)) 15 if (!iter->ReadData(&reply_text, &reply_length))
14 return false; 16 return false;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 70 }
69 if (SkFontHost::kVertical_LCDOrientation == SkFontHost::GetSubpixelOrien tation()){ 71 if (SkFontHost::kVertical_LCDOrientation == SkFontHost::GetSubpixelOrien tation()){
70 index |= 2; 72 index |= 2;
71 } 73 }
72 return gGeo[index]; 74 return gGeo[index];
73 } 75 }
74 } 76 }
75 77
76 } // namespace skia 78 } // namespace skia
77 79
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698