Index: tools/android/SkAndroidSDKCanvas.cpp |
diff --git a/tools/android/SkAndroidSDKCanvas.cpp b/tools/android/SkAndroidSDKCanvas.cpp |
index d31f93b6710b075f88c1839b4b83646b0abad80c..c1a40f4766443d29197e0893d4b78aa88d334ded 100644 |
--- a/tools/android/SkAndroidSDKCanvas.cpp |
+++ b/tools/android/SkAndroidSDKCanvas.cpp |
@@ -300,7 +300,7 @@ bool SkAndroidSDKCanvas::onPeekPixels(SkPixmap* pmap) { |
bool SkAndroidSDKCanvas::onAccessTopLayerPixels(SkPixmap* pmap) { |
SkASSERT(pmap); |
SkImageInfo info; |
- size_t rowBytes; |
+ size_t rowBytes; |
const void* addr = fProxyTarget->accessTopLayerPixels(&info, &rowBytes, nullptr); |
if (addr) { |
pmap->reset(info, addr, rowBytes); |
@@ -355,5 +355,3 @@ void SkAndroidSDKCanvas::onClipRegion(const SkRegion& region, SkRegion::Op op) { |
} |
void SkAndroidSDKCanvas::onDiscard() { fProxyTarget->discard(); } |
- |
- |