Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: Source/core/inspector/InspectorDOMAgent.cpp

Issue 282823004: Remove internalSubset from DocumentType (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove corresponding use counter Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 } 1532 }
1533 } else if (node->isDocumentNode()) { 1533 } else if (node->isDocumentNode()) {
1534 Document* document = toDocument(node); 1534 Document* document = toDocument(node);
1535 value->setDocumentURL(documentURLString(document)); 1535 value->setDocumentURL(documentURLString(document));
1536 value->setBaseURL(documentBaseURLString(document)); 1536 value->setBaseURL(documentBaseURLString(document));
1537 value->setXmlVersion(document->xmlVersion()); 1537 value->setXmlVersion(document->xmlVersion());
1538 } else if (node->isDocumentTypeNode()) { 1538 } else if (node->isDocumentTypeNode()) {
1539 DocumentType* docType = toDocumentType(node); 1539 DocumentType* docType = toDocumentType(node);
1540 value->setPublicId(docType->publicId()); 1540 value->setPublicId(docType->publicId());
1541 value->setSystemId(docType->systemId()); 1541 value->setSystemId(docType->systemId());
1542 value->setInternalSubset(docType->internalSubset());
1543 } else if (node->isAttributeNode()) { 1542 } else if (node->isAttributeNode()) {
1544 Attr* attribute = toAttr(node); 1543 Attr* attribute = toAttr(node);
1545 value->setName(attribute->name()); 1544 value->setName(attribute->name());
1546 value->setValue(attribute->value()); 1545 value->setValue(attribute->value());
1547 } else if (node->isShadowRoot()) { 1546 } else if (node->isShadowRoot()) {
1548 value->setShadowRootType(shadowRootType(toShadowRoot(node))); 1547 value->setShadowRootType(shadowRootType(toShadowRoot(node)));
1549 } 1548 }
1550 1549
1551 if (node->isContainerNode()) { 1550 if (node->isContainerNode()) {
1552 int nodeCount = innerChildNodeCount(node); 1551 int nodeCount = innerChildNodeCount(node);
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 if (!m_documentNodeToIdMap.contains(m_document)) { 2063 if (!m_documentNodeToIdMap.contains(m_document)) {
2065 RefPtr<TypeBuilder::DOM::Node> root; 2064 RefPtr<TypeBuilder::DOM::Node> root;
2066 getDocument(errorString, root); 2065 getDocument(errorString, root);
2067 return errorString->isEmpty(); 2066 return errorString->isEmpty();
2068 } 2067 }
2069 return true; 2068 return true;
2070 } 2069 }
2071 2070
2072 } // namespace WebCore 2071 } // namespace WebCore
2073 2072
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698