-
eric@webkit.org authored
Reviewed by Eric Seidel. [BREWMP] Don't use time function https://bugs.webkit.org/show_bug.cgi?id=33577 Calling time(0) in BREW devices causes a crash because time is not properly ported in most devices. Cast currentTime() to time_t to get the same result as time(0). * wtf/DateMath.cpp: (WTF::calculateUTCOffset): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d6ee855b