Save comparisons for release.
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=1997003003 Review-Url: https://codereview.chromium.org/1997003003
This commit is contained in:
parent
beb1c67c9d
commit
17b4a10921
@ -77,11 +77,13 @@ void SkiaAndroidApp::paintIfNeeded() {
|
||||
}
|
||||
|
||||
void SkiaAndroidApp::postMessage(const Message& message) const {
|
||||
SkAssertResult(write(fPipes[1], &message, sizeof(message)) == sizeof(message));
|
||||
SkDEBUGCODE(auto writeSize =) write(fPipes[1], &message, sizeof(message));
|
||||
SkASSERT(writeSize == sizeof(message));
|
||||
}
|
||||
|
||||
void SkiaAndroidApp::readMessage(Message* message) const {
|
||||
SkAssertResult(read(fPipes[0], message, sizeof(Message)) == sizeof(Message));
|
||||
SkDEBUGCODE(auto readSize =) read(fPipes[0], message, sizeof(Message));
|
||||
SkASSERT(readSize == sizeof(Message));
|
||||
}
|
||||
|
||||
void SkiaAndroidApp::inval() {
|
||||
|
Loading…
Reference in New Issue
Block a user