Index: src/views/SkViewPriv.cpp |
diff --git a/src/views/SkViewPriv.cpp b/src/views/SkViewPriv.cpp |
index 048ff08b8795de9a22fdd5c10bc99bc76e978717..6d908145742ff35184d6d456c06edc645a07bfa0 100644 |
--- a/src/views/SkViewPriv.cpp |
+++ b/src/views/SkViewPriv.cpp |
@@ -17,7 +17,7 @@ void SkView::Artist::draw(SkView* view, SkCanvas* canvas) |
void SkView::Artist::inflate(const SkDOM& dom, const SkDOM::Node* node) |
{ |
- SkASSERT(&dom && node); |
+ SkASSERT(node); |
this->onInflate(dom, node); |
} |
@@ -63,7 +63,7 @@ void SkView::Layout::layoutChildren(SkView* parent) |
void SkView::Layout::inflate(const SkDOM& dom, const SkDOM::Node* node) |
{ |
- SkASSERT(&dom && node); |
+ SkASSERT(node); |
this->onInflate(dom, node); |
} |