Reviewed by Darin Fisher.
Fix scrubbing error -- a reversed condition.
* bindings/v8/ScriptValue.h:
(WebCore::ScriptValue::clear): Change early exit for empty value, not the opposite.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41308
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-02-27 Dimitri Glazkov <dglazkov@chromium.org>
+
+ Reviewed by Darin Fisher.
+
+ Fix scrubbing error -- a reversed condition.
+
+ * bindings/v8/ScriptValue.h:
+ (WebCore::ScriptValue::clear): Change early exit for empty value, not the opposite.
+
2009-02-27 Jian Li <jianli@chromium.org>
Reviewed by Alexey Proskuryakov.
void clear()
{
- if (!m_value.IsEmpty())
+ if (m_value.IsEmpty())
return;
#ifndef NDEBUG