Index: third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp |
index 4444037b97dee153bda755ffffaa03f61bb72256..332d9c91c8d9fcd3db175762e091274e46788493 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameletElement.cpp |
@@ -40,6 +40,8 @@ using namespace HTMLNames; |
inline HTMLFrameletElement::HTMLFrameletElement(Document& document) |
: HTMLElement(frameletTag, document) |
, m_webLayer(nullptr) |
+ , m_bytesUsed(4242) // FIXME: Dummy value for testing with. |
+ , m_trackBytesUsed(true) |
{ |
} |
@@ -49,6 +51,11 @@ HTMLFrameletElement::~HTMLFrameletElement() |
{ |
} |
+void HTMLFrameletElement::setTrackBytesUsed(const WTF::String& val) |
+{ |
+ m_trackBytesUsed = val == "true"; |
+} |
+ |
void HTMLFrameletElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style) |
{ |
if (name == widthAttr) { |