Changeset 155532 in webkit
- Timestamp:
- Sep 11, 2013 8:55:13 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r155527 r155532 1 2013-09-11 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r154899. 4 http://trac.webkit.org/changeset/154899 5 https://bugs.webkit.org/show_bug.cgi?id=121162 6 7 It didn't fix the problem and broke other unit tests 8 (Requested by KaL on #webkit). 9 10 * UIProcess/API/gtk/tests/WebViewTest.cpp: 11 (WebViewTest::resizeView): 12 1 13 2013-09-11 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 14 -
trunk/Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.cpp
r154899 r155532 202 202 void WebViewTest::resizeView(int width, int height) 203 203 { 204 gtk_window_resize(GTK_WINDOW(m_parentWindow), width, height); 205 206 while (gtk_events_pending()) 207 gtk_main_iteration(); 204 GtkAllocation allocation; 205 gtk_widget_get_allocation(GTK_WIDGET(m_webView), &allocation); 206 if (width != -1) 207 allocation.width = width; 208 if (height != -1) 209 allocation.height = height; 210 gtk_widget_size_allocate(GTK_WIDGET(m_webView), &allocation); 208 211 } 209 212
Note: See TracChangeset
for help on using the changeset viewer.