updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / page-speed-sdk / page-speed-sdk.patch
blobfcaa47ceda7e116ecd6bb90409fdf1daf08717d5
1 diff -aur page-speed-sdk.pristine/third_party/instaweb/src/net/instaweb/htmlparse/html_parse.cc page-speed-sdk.new/third_party/instaweb/src/net/instaweb/htmlparse/html_parse.cc
2 --- page-speed-sdk.pristine/third_party/instaweb/src/net/instaweb/htmlparse/html_parse.cc 2010-09-23 15:51:26.000000000 +0400
3 +++ page-speed-sdk.new/third_party/instaweb/src/net/instaweb/htmlparse/html_parse.cc 2011-12-06 12:55:35.972147047 +0400
4 @@ -269,7 +269,7 @@
5 // sure the elements have the expected parent based on context, when
6 // we can figure out what the expected parent is.
7 HtmlElement* start_element = event->GetStartElement();
8 - HtmlElement* actual_parent = NULL;
9 + //HtmlElement* actual_parent = NULL;
10 if (start_element != NULL) {
11 CheckEventParent(event, expect_parent, start_element->parent());
12 CHECK(start_element->begin() == current_);
13 @@ -290,7 +290,7 @@
14 CHECK(element_stack.back() == end_element);
15 element_stack.pop_back();
17 - actual_parent = end_element->parent();
18 + //actual_parent = end_element->parent();
19 expect_parent = element_stack.empty() ? NULL : element_stack.back();
20 CheckEventParent(event, expect_parent, end_element->parent());
21 } else {