1 // Copyright 2017 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #include "core/fxcrt/xml/cxml_attritem.h" 8 Matches(const ByteString & space,const ByteString & name) const9bool CXML_AttrItem::Matches(const ByteString& space, 10 const ByteString& name) const { 11 return (space.IsEmpty() || m_QSpaceName == space) && m_AttrName == name; 12 } 13