diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp b/chromium/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp index 9d3ca1e145e..8eb35c7be26 100644 --- a/chromium/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp +++ b/chromium/third_party/WebKit/Source/core/xml/XPathVariableReference.cpp @@ -40,9 +40,11 @@ VariableReference::VariableReference(const String& name) Value VariableReference::evaluate() const { HashMap<String, String>& bindings = evaluationContext().variableBindings; - if (!bindings.contains(m_name)) - // FIXME: Is this the right thing to do if an unknown variable is referenced? + if (!bindings.contains(m_name)) { + // FIXME: Is this the right thing to do if an unknown variable is + // referenced? return ""; + } return bindings.get(m_name); } |