Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: third_party/WebKit/Source/core/animation/InterpolationValue.h

Issue 1878253003: Allow explicit conversion operators and implement WTF::OwnPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « styleguide/c++/c++11.html ('k') | third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/InterpolationValue.h
diff --git a/third_party/WebKit/Source/core/animation/InterpolationValue.h b/third_party/WebKit/Source/core/animation/InterpolationValue.h
index cf73188c81e67d0d059361100800a4b5c8447565..71a7010275b2456281e7f71c614d2c0eb26ff447 100644
--- a/third_party/WebKit/Source/core/animation/InterpolationValue.h
+++ b/third_party/WebKit/Source/core/animation/InterpolationValue.h
@@ -34,7 +34,7 @@ struct InterpolationValue {
nonInterpolableValue = other.nonInterpolableValue.release();
}
- operator bool() const { return interpolableValue; }
+ operator bool() const { return interpolableValue.get(); }
InterpolationValue clone() const
{
« no previous file with comments | « styleguide/c++/c++11.html ('k') | third_party/WebKit/Source/core/animation/PairwiseInterpolationValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698