From 10913a5c37ba119bef335320d3e8be25212c05ad Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Tue, 20 Aug 2013 17:19:47 -0700 Subject: Make error handling kill context activity. Add parameter validation. bug 10427951 Change-Id: I4abba969e34903265b84ee88d6a90bc9b9df5481 --- cpp/Element.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/Element.cpp') diff --git a/cpp/Element.cpp b/cpp/Element.cpp index df7b5a0f..d6855950 100644 --- a/cpp/Element.cpp +++ b/cpp/Element.cpp @@ -331,7 +331,7 @@ android::RSC::sp Element::createPixel(android::RSC::sp rs, Rs return new Element(id, rs, dt, dk, true, size); } -bool Element::isCompatible(android::RSC::spe) { +bool Element::isCompatible(android::RSC::spe) const { // Try strict BaseObj equality to start with. if (this == e.get()) { return true; -- cgit v1.2.3