summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebElementPropertyBag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebElementPropertyBag.cpp')
-rw-r--r--WebKit/win/WebElementPropertyBag.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebKit/win/WebElementPropertyBag.cpp b/WebKit/win/WebElementPropertyBag.cpp
index e68b92e..e68360c 100644
--- a/WebKit/win/WebElementPropertyBag.cpp
+++ b/WebKit/win/WebElementPropertyBag.cpp
@@ -159,7 +159,10 @@ HRESULT STDMETHODCALLTYPE WebElementPropertyBag::Read(LPCOLESTR pszPropName, VAR
else
V_BOOL(pVar) = VARIANT_FALSE;
return S_OK;
- } else if (isEqual(WebElementSpellingToolTipKey, key)) {
+ }
+ if (isEqual(WebElementMediaURLKey, key))
+ return convertStringToVariant(pVar, m_result->absoluteMediaURL().string());
+ if (isEqual(WebElementSpellingToolTipKey, key)) {
TextDirection dir;
return convertStringToVariant(pVar, m_result->spellingToolTip(dir));
} else if (isEqual(WebElementTitleKey, key)) {