~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/xml/XPathNamespace.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright 2005 Frerich Raabe <raabe@kde.org>
3
 
 * Copyright (C) 2006 Apple Computer, Inc.
 
3
 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
6
6
 * modification, are permitted provided that the following conditions
33
33
 
34
34
namespace WebCore {
35
35
 
36
 
XPathNamespace::XPathNamespace(PassRefPtr<Element> ownerElement, const String& prefix, const String& uri)
37
 
    : Node(ownerElement->document())
 
36
XPathNamespace::XPathNamespace(PassRefPtr<Element> ownerElement, const AtomicString& prefix, const AtomicString& uri)
 
37
    : Node(ownerElement->document(), CreateOther)
38
38
    , m_ownerElement(ownerElement)
39
39
    , m_prefix(prefix)
40
40
    , m_uri(uri)
41
41
{
42
42
}
43
43
 
44
 
XPathNamespace::~XPathNamespace()
45
 
{
46
 
}
47
 
 
48
44
Document* XPathNamespace::ownerDocument() const
49
45
{
50
46
    return m_ownerElement->ownerDocument();