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

Unified Diff: third_party/WebKit/Source/wtf/Time.h

Issue 2656843003: Do not expose is_null API for time values in Blink (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/wtf/Time.h
diff --git a/third_party/WebKit/Source/wtf/Time.h b/third_party/WebKit/Source/wtf/Time.h
index e55ebf2375eb7039c29824415ea938a5d7e59c5a..0dcaaa088d9078b777ef2b22e4d1fd31abc82279 100644
--- a/third_party/WebKit/Source/wtf/Time.h
+++ b/third_party/WebKit/Source/wtf/Time.h
@@ -29,8 +29,6 @@ class TimeWrapper {
public:
TimeWrapper() {}
- bool isNull() const { return m_value.is_null(); }
-
static TimeWrapper Now() {
if (WTF::getTimeFunctionForTesting()) {
double seconds = (WTF::getTimeFunctionForTesting())();

Powered by Google App Engine
This is Rietveld 408576698