all dumpcanvas to be built in release
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2123633002 TBR= Review-Url: https://codereview.chromium.org/2123633002
This commit is contained in:
parent
47f8556e3f
commit
2b2810b4eb
@ -1,17 +1,15 @@
|
||||
|
||||
/*
|
||||
* 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 SkDumpCanvas_DEFINED
|
||||
#define SkDumpCanvas_DEFINED
|
||||
|
||||
#include "SkCanvas.h"
|
||||
|
||||
#ifdef SK_DEBUG
|
||||
|
||||
/** This class overrides all the draw methods on SkCanvas, and formats them
|
||||
as text, and then sends that to a Dumper helper object.
|
||||
|
||||
@ -164,5 +162,3 @@ private:
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -5,10 +5,8 @@
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "SkDumpCanvas.h"
|
||||
|
||||
#ifdef SK_DEBUG
|
||||
#include "SkData.h"
|
||||
#include "SkDumpCanvas.h"
|
||||
#include "SkPatchUtils.h"
|
||||
#include "SkPicture.h"
|
||||
#include "SkPixelRef.h"
|
||||
@ -553,5 +551,3 @@ static void dumpToDebugf(const char text[], void*) {
|
||||
}
|
||||
|
||||
SkDebugfDumper::SkDebugfDumper() : INHERITED(dumpToDebugf, nullptr) {}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user