aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evolution/evolution-3.22.1-inline-images-reply.patch
blob: c24148779f70fc7c929d85235758e175db534959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From d74c18bcc12f056d98cc1fcdb90f4372015ebf0e Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Thu, 13 Oct 2016 13:00:36 +0200
Subject: [PATCH] Bug 772803 - Inline images cause busy loop on Reply in
 WebKitWebProcess

---
 src/modules/webkit-editor/web-extension/e-editor-dom-functions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/webkit-editor/web-extension/e-editor-dom-functions.c b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index c61d365..0e8da0d 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -8419,7 +8419,7 @@ change_cid_images_src_to_base64 (EEditorPage *editor_page)
 
 			list = webkit_dom_document_query_selector_all (
 				document, selector, NULL);
-			for (jj = webkit_dom_node_list_get_length (list) - 1; jj--;) {
+			for (jj = webkit_dom_node_list_get_length (list); jj--;) {
 				WebKitDOMNode *node = webkit_dom_node_list_item (list, jj);
 
 				set_base64_to_element_attribute (
-- 
2.7.4