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

Side by Side Diff: include/core/SkTypes.h

Issue 1070943002: [SkTextBlob] Custom run font record (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: review comments Created 5 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
« no previous file with comments | « no previous file | src/core/SkTextBlob.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkTypes_DEFINED 8 #ifndef SkTypes_DEFINED
9 #define SkTypes_DEFINED 9 #define SkTypes_DEFINED
10 10
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 Dst dst; 441 Dst dst;
442 } data; 442 } data;
443 data.src = ptr; 443 data.src = ptr;
444 return data.dst; 444 return data.dst;
445 } 445 }
446 446
447 ////////////////////////////////////////////////////////////////////////////// 447 //////////////////////////////////////////////////////////////////////////////
448 448
449 /** \class SkNoncopyable 449 /** \class SkNoncopyable
450 450
451 SkNoncopyable is the base class for objects that may do not want to 451 SkNoncopyable is the base class for objects that do not want to
452 be copied. It hides its copy-constructor and its assignment-operator. 452 be copied. It hides its copy-constructor and its assignment-operator.
453 */ 453 */
454 class SK_API SkNoncopyable { 454 class SK_API SkNoncopyable {
455 public: 455 public:
456 SkNoncopyable() {} 456 SkNoncopyable() {}
457 457
458 private: 458 private:
459 SkNoncopyable(const SkNoncopyable&); 459 SkNoncopyable(const SkNoncopyable&);
460 SkNoncopyable& operator=(const SkNoncopyable&); 460 SkNoncopyable& operator=(const SkNoncopyable&);
461 }; 461 };
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 private: 672 private:
673 void* fPtr; 673 void* fPtr;
674 size_t fSize; // can be larger than the requested size (see kReuse) 674 size_t fSize; // can be larger than the requested size (see kReuse)
675 uint32_t fStorage[(kSize + 3) >> 2]; 675 uint32_t fStorage[(kSize + 3) >> 2];
676 }; 676 };
677 // Can't guard the constructor because it's a template class. 677 // Can't guard the constructor because it's a template class.
678 678
679 #endif /* C++ */ 679 #endif /* C++ */
680 680
681 #endif 681 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkTextBlob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698