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

Unified Diff: java/org/chromium/distiller/webdocument/WebDocument.java

Issue 1230583006: Fix for keeping lists structure (Closed) Base URL: https://github.com/chromium/dom-distiller.git@master
Patch Set: canBeNested move out of the switch. Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: java/org/chromium/distiller/webdocument/WebDocument.java
diff --git a/java/org/chromium/distiller/webdocument/WebDocument.java b/java/org/chromium/distiller/webdocument/WebDocument.java
index e8c1880b8acdab88306c9de92689348601cd764a..021851baa3f4a138c09382fc7682b5030e4df40a 100644
--- a/java/org/chromium/distiller/webdocument/WebDocument.java
+++ b/java/org/chromium/distiller/webdocument/WebDocument.java
@@ -29,6 +29,10 @@ public class WebDocument {
elements.add(table);
}
+ public void addTag(WebTag tag) {
+ elements.add(tag);
+ }
+
public void addEmbed(WebElement embed) {
elements.add(embed);
}

Powered by Google App Engine
This is Rietveld 408576698