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

Side by Side Diff: src/text/SkTextLayout.cpp

Issue 98703002: Fix compilation with SK_ENABLE_INST_COUNT=1 (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/pdf/SkPDFTypes.cpp ('k') | src/utils/SkBoundaryPatch.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 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #include "SkTextLayout.h" 8 #include "SkTextLayout.h"
9 9
10 SK_DEFINE_INST_COUNT(SkTextStyle)
11
12 SkTextStyle::SkTextStyle() { 10 SkTextStyle::SkTextStyle() {
13 fPaint.setAntiAlias(true); 11 fPaint.setAntiAlias(true);
14 } 12 }
15 13
16 SkTextStyle::SkTextStyle(const SkTextStyle& src) : fPaint(src.fPaint) {} 14 SkTextStyle::SkTextStyle(const SkTextStyle& src) : fPaint(src.fPaint) {}
17 15
18 SkTextStyle::SkTextStyle(const SkPaint& paint) : fPaint(paint) {} 16 SkTextStyle::SkTextStyle(const SkPaint& paint) : fPaint(paint) {}
19 17
20 SkTextStyle::~SkTextStyle() {} 18 SkTextStyle::~SkTextStyle() {}
21 19
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 SkScalar fBaselineY; 69 SkScalar fBaselineY;
72 SkTDArray<GlyphRun*> fRuns; 70 SkTDArray<GlyphRun*> fRuns;
73 }; 71 };
74 72
75 SkTextLayout::Line::~Line() { 73 SkTextLayout::Line::~Line() {
76 fRuns.deleteAll(); 74 fRuns.deleteAll();
77 } 75 }
78 76
79 void SkTextLayout::draw(SkCanvas* canvas) { 77 void SkTextLayout::draw(SkCanvas* canvas) {
80 } 78 }
OLDNEW
« no previous file with comments | « src/pdf/SkPDFTypes.cpp ('k') | src/utils/SkBoundaryPatch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698