~ubuntu-branches/ubuntu/lucid/webkit/lucid-updates

« back to all changes in this revision

Viewing changes to WebCore/bindings/js/JSSVGPathSegCustom.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2010-02-04 19:30:57 UTC
  • mfrom: (1.2.8 upstream) (4.3.9 sid)
  • Revision ID: james.westby@ubuntu.com-20100204193057-d3018lm1fipb0703
* New upstream release
* debian/copyright:
- Updated with changes since 1.1.19.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#if ENABLE(SVG)
23
23
#include "JSSVGPathSeg.h"
 
24
 
 
25
#include "JSDOMBinding.h"
24
26
#include "JSSVGPathSegArcAbs.h"
25
27
#include "JSSVGPathSegArcRel.h"
26
28
#include "JSSVGPathSegClosePath.h"
40
42
#include "JSSVGPathSegLinetoVerticalRel.h"
41
43
#include "JSSVGPathSegMovetoAbs.h"
42
44
#include "JSSVGPathSegMovetoRel.h"
43
 
 
44
 
#include "JSDOMBinding.h"
45
 
 
46
45
#include "SVGPathSeg.h"
47
46
#include "SVGPathSegArc.h"
48
47
#include "SVGPathSegClosePath.h"
64
63
    if (!object)
65
64
        return jsNull();
66
65
 
67
 
    if (DOMObject* wrapper = getCachedDOMObjectWrapper(exec, object))
 
66
    if (DOMObject* wrapper = getCachedDOMObjectWrapper(exec, object)) {
 
67
        ASSERT(JSSVGContextCache::svgContextForDOMObject(wrapper) == context);
68
68
        return wrapper;
 
69
    }
69
70
 
70
71
    switch (object->pathSegType()) {
71
72
    case SVGPathSeg::PATHSEG_CLOSEPATH:
115
116
}
116
117
 
117
118
#endif // ENABLE(SVG)
118
 
 
119
 
// vim:ts=4:noet