pre-land special methods on device
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2161233002
Review-Url: https://codereview.chromium.org/2161233002
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp
index 7ecdbef..f54fba2 100644
--- a/src/core/SkDevice.cpp
+++ b/src/core/SkDevice.cpp
@@ -23,21 +23,6 @@
#include "SkTextBlobRunIterator.h"
#include "SkTextToPathIter.h"
-void SkBaseDevice::drawSpecial(const SkDraw&, SkSpecialImage*, int x, int y, const SkPaint&) {
-}
-
-sk_sp<SkSpecialImage> SkBaseDevice::makeSpecial(const SkBitmap&) {
- return nullptr;
-}
-
-sk_sp<SkSpecialImage> SkBaseDevice::makeSpecial(SkImage*) {
- return nullptr;
-}
-
-sk_sp<SkSpecialImage> SkBaseDevice::snapSpecial() {
- return nullptr;
-}
-
SkBaseDevice::SkBaseDevice(const SkSurfaceProps& surfaceProps)
: fSurfaceProps(surfaceProps)
#ifdef SK_DEBUG
@@ -236,6 +221,13 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
+void SkBaseDevice::drawSpecial(const SkDraw&, SkSpecialImage*, int x, int y, const SkPaint&) {}
+sk_sp<SkSpecialImage> SkBaseDevice::makeSpecial(const SkBitmap&) { return nullptr; }
+sk_sp<SkSpecialImage> SkBaseDevice::makeSpecial(const SkImage*) { return nullptr; }
+sk_sp<SkSpecialImage> SkBaseDevice::snapSpecial() { return nullptr; }
+
+///////////////////////////////////////////////////////////////////////////////////////////////////
+
bool SkBaseDevice::readPixels(const SkImageInfo& info, void* dstP, size_t rowBytes, int x, int y) {
#ifdef SK_DEBUG
SkASSERT(info.width() > 0 && info.height() > 0);