Fix hwui compile error only seen with debug switch.

Bug: None
Test: Build succeeded
Change-Id: I26e3f4fdc10f27d7eb7f3987d0f3e5dfa1bc9f45
This commit is contained in:
Daichi Hirono
2016-11-29 16:09:59 +09:00
parent d0835e45f7
commit 116c376c73

View File

@@ -88,7 +88,7 @@ bool OpenGLPipeline::draw(const Frame& frame, const SkRect& screenDirty, const S
caches.tessellationCache.trim();
#if DEBUG_MEMORY_USAGE
mCaches.dumpMemoryUsage();
caches.dumpMemoryUsage();
#else
if (CC_UNLIKELY(Properties::debugLevel & kDebugMemory)) {
caches.dumpMemoryUsage();