// Copyright 2017 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcrt/css/cfx_cssselector.h" #include <utility> #include "core/fxcrt/check.h" #include "core/fxcrt/fx_extension.h" namespace { size_t GetCSSNameLen(WideStringView str) { … } } // namespace CFX_CSSSelector::CFX_CSSSelector(WideStringView str, std::unique_ptr<CFX_CSSSelector> next) : … { … } CFX_CSSSelector::~CFX_CSSSelector() = default; // static. std::unique_ptr<CFX_CSSSelector> CFX_CSSSelector::FromString( WideStringView str) { … }