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

Side by Side Diff: src/views/SkView.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/views/SkEventSink.cpp ('k') | src/views/animated/SkWidgetViews.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 "SkView.h" 8 #include "SkView.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 10
11 SK_DEFINE_INST_COUNT(SkView::Artist)
12 SK_DEFINE_INST_COUNT(SkView::Layout)
13
14 //////////////////////////////////////////////////////////////////////// 11 ////////////////////////////////////////////////////////////////////////
15 12
16 SkView::SkView(uint32_t flags) : fFlags(SkToU8(flags)) 13 SkView::SkView(uint32_t flags) : fFlags(SkToU8(flags))
17 { 14 {
18 fWidth = fHeight = 0; 15 fWidth = fHeight = 0;
19 fLoc.set(0, 0); 16 fLoc.set(0, 0);
20 fParent = fFirstChild = fNextSibling = fPrevSibling = NULL; 17 fParent = fFirstChild = fNextSibling = fPrevSibling = NULL;
21 fMatrix.setIdentity(); 18 fMatrix.setIdentity();
22 fContainsFocus = 0; 19 fContainsFocus = 0;
23 } 20 }
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 SkDebugf(" />\n"); 834 SkDebugf(" />\n");
838 } 835 }
839 } 836 }
840 837
841 void SkView::dump(bool recurse) const 838 void SkView::dump(bool recurse) const
842 { 839 {
843 dumpview(this, 0, recurse); 840 dumpview(this, 0, recurse);
844 } 841 }
845 842
846 #endif 843 #endif
OLDNEW
« no previous file with comments | « src/views/SkEventSink.cpp ('k') | src/views/animated/SkWidgetViews.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698