summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm.kawonczyk <m.kawonczyk@samsung.com>2016-07-12 09:42:00 +0200
committerHye Kyoung Hwang <cookie@samsung.com>2016-07-17 18:10:33 -0700
commitdf77ceb6178beb77b2371ac622d66135bd22939d (patch)
treecf9d678e070dbe63b6768facf0f90f3ec546e99f
parent955a0bbab2d8890f9fbba1747cd2d5cc982d4f52 (diff)
downloadbrowser-df77ceb6178beb77b2371ac622d66135bd22939d.tar.gz
browser-df77ceb6178beb77b2371ac622d66135bd22939d.tar.bz2
browser-df77ceb6178beb77b2371ac622d66135bd22939d.zip
Fix regresion made by SVACE 83651
[Issue] N/A [Problem] Tab did not update screenshot after load,finished. [Solution] Call function omited after SVACE. [Verify] Open website, go to tabs to see temporary screenshot. Go back to website, wait until it finished loading and go to tabs. Screenshot should be updated. Change-Id: If1c778183cc66946bcefe0c4f651b178cb8b281c
-rw-r--r--services/SimpleUI/SimpleUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/SimpleUI/SimpleUI.cpp b/services/SimpleUI/SimpleUI.cpp
index 54d3b8d0..06b85f9f 100644
--- a/services/SimpleUI/SimpleUI.cpp
+++ b/services/SimpleUI/SimpleUI.cpp
@@ -938,6 +938,7 @@ void SimpleUI::onSnapshotCaptured(std::shared_ptr<tools::BrowserImage> snapshot,
switch (snapshot_type) {
case tools::SnapshotType::ASYNC_LOAD_FINISHED:
m_historyService->updateHistoryItemSnapshot(m_webEngine->getURI(), snapshot);
+ m_tabService->updateTabItemSnapshot(m_webEngine->currentTabId(), snapshot);
break;
case tools::SnapshotType::ASYNC_TAB:
m_tabService->updateTabItemSnapshot(m_webEngine->currentTabId(), snapshot);