diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/rendering/HitTestResult.cpp | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/rendering/HitTestResult.cpp')
-rw-r--r-- | WebCore/rendering/HitTestResult.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/WebCore/rendering/HitTestResult.cpp b/WebCore/rendering/HitTestResult.cpp index 6946489..6418f19 100644 --- a/WebCore/rendering/HitTestResult.cpp +++ b/WebCore/rendering/HitTestResult.cpp @@ -1,5 +1,7 @@ /* - * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. + * This file is part of the HTML rendering engine for KDE. + * + * Copyright (C) 2006 Apple Computer, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -21,14 +23,19 @@ #include "config.h" #include "HitTestResult.h" +#include "CSSHelper.h" +#include "Document.h" #include "Frame.h" #include "FrameTree.h" #include "HTMLAnchorElement.h" +#include "HTMLElement.h" #include "HTMLImageElement.h" #include "HTMLInputElement.h" #include "HTMLNames.h" +#include "KURL.h" #include "PlatformScrollBar.h" #include "RenderImage.h" +#include "RenderObject.h" #include "SelectionController.h" #if ENABLE(SVG) @@ -234,7 +241,7 @@ KURL HitTestResult::absoluteImageURL() const else return KURL(); - return m_innerNonSharedNode->document()->completeURL(parseURL(urlString)); + return KURL(m_innerNonSharedNode->document()->completeURL(parseURL(urlString).deprecatedString())); } KURL HitTestResult::absoluteLinkURL() const @@ -252,7 +259,7 @@ KURL HitTestResult::absoluteLinkURL() const else return KURL(); - return m_innerURLElement->document()->completeURL(parseURL(urlString)); + return KURL(m_innerURLElement->document()->completeURL(parseURL(urlString).deprecatedString())); } bool HitTestResult::isLiveLink() const |