diff options
Diffstat (limited to 'WebCore/html/HTMLSourceElement.cpp')
-rw-r--r-- | WebCore/html/HTMLSourceElement.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/html/HTMLSourceElement.cpp b/WebCore/html/HTMLSourceElement.cpp index 86af4e4..66f7305 100644 --- a/WebCore/html/HTMLSourceElement.cpp +++ b/WebCore/html/HTMLSourceElement.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. + * Copyright (C) 2007 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,7 +30,6 @@ #include "HTMLDocument.h" #include "HTMLMediaElement.h" -#include "HTMLNames.h" using namespace std; @@ -57,7 +56,7 @@ void HTMLSourceElement::insertedIntoDocument() } } -KURL HTMLSourceElement::src() const +String HTMLSourceElement::src() const { return document()->completeURL(getAttribute(srcAttr)); } |