Changeset 41601 in webkit


Ignore:
Timestamp:
Mar 11, 2009 2:54:23 PM (15 years ago)
Author:
levin@chromium.org
Message:

2009-03-11 Jian Li <jianli@chromium.org>

Reviewed by Dimitri Glazkov.

Implement ScriptValue::hasNoValue for V8.
https://bugs.webkit.org/show_bug.cgi?id=24507

  • bindings/v8/ScriptValue.h: (WebCore::ScriptValue::hasNoValue):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r41600 r41601  
     12009-03-11  Jian Li  <jianli@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        Implement ScriptValue::hasNoValue for V8.
     6        https://bugs.webkit.org/show_bug.cgi?id=24507
     7
     8        * bindings/v8/ScriptValue.h:
     9        (WebCore::ScriptValue::hasNoValue):
     10
    1112009-03-11  David Levin  <levin@chromium.org>
    212
  • trunk/WebCore/bindings/v8/ScriptValue.h

    r41308 r41601  
    105105        return m_value->IsUndefined();
    106106    }
     107   
     108    bool hasNoValue() const
     109    {
     110        return m_value.IsEmpty();
     111    }
    107112
    108113    void clear()
Note: See TracChangeset for help on using the changeset viewer.