MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getCSSDocument

Method getCSSDocument

valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp:245–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245Shared<CSSDocument> CSSAttributesManager::getCSSDocument() const {
246 if (_cssNodeContainer != nullptr) {
247 return _cssNodeContainer->cssDocument.toShared();
248 }
249
250 return nullptr;
251}
252
253bool CSSAttributesManager::needUpdateCSS() const {
254 return _cssNodeContainer != nullptr || _cssNodeContainerFromParentOveridde != nullptr;

Callers 1

copyCSSDocumentMethod · 0.45

Calls 1

toSharedMethod · 0.80

Tested by

no test coverage detected