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: Small code refactor for more appropriate names. Created 5 years, 5 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..5e3eb61b81ad3ce98095494830b855c98d9d3fd7 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 addList(WebElement list) {
wychen 2015/08/01 01:00:20 addList(PlaceHolder list)?
+ elements.add(list);
+ }
+
public void addEmbed(WebElement embed) {
elements.add(embed);
}

Powered by Google App Engine
This is Rietveld 408576698