Index: src/core/SkPictureRecord.h |
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h |
index d09891601b538e7466fc050022c3d42249fe806d..88f72cfa0b591902495431ce1e89f2014625105f 100644 |
--- a/src/core/SkPictureRecord.h |
+++ b/src/core/SkPictureRecord.h |
@@ -1,10 +1,10 @@ |
- |
/* |
* Copyright 2011 Google Inc. |
* |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. |
*/ |
+ |
#ifndef SkPictureRecord_DEFINED |
#define SkPictureRecord_DEFINED |
@@ -216,6 +216,8 @@ public: |
#endif |
protected: |
+ virtual SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE; |
+ |
// Return fontmetrics.fTop,fBottom in topbot[0,1], after they have been |
// tweaked by paint.computeFastBounds(). |
static void ComputeFontMetricsTopBottom(const SkPaint& paint, SkScalar topbot[2]); |