Index: ppapi/cpp/resource.h |
diff --git a/ppapi/cpp/resource.h b/ppapi/cpp/resource.h |
index f21467214ff6b1852a23a40155339d1cfaa5de8a..8f5a92d2e1214815bd1762800fe39ae1b396739d 100644 |
--- a/ppapi/cpp/resource.h |
+++ b/ppapi/cpp/resource.h |
@@ -91,4 +91,8 @@ inline bool operator==(const pp::Resource& lhs, const pp::Resource& rhs) { |
return lhs.pp_resource() == rhs.pp_resource(); |
} |
+inline bool operator!=(const pp::Resource& lhs, const pp::Resource& rhs) { |
+ return !(lhs == rhs); |
+} |
+ |
#endif // PPAPI_CPP_RESOURCE_H_ |