fixup! Refactored code by removing extra check for vector size in SendAppControlEvent... 88/180788/1
authordeepti <d.saraswat@samsung.com>
Mon, 4 Jun 2018 07:26:11 +0000 (12:56 +0530)
committerdeepti <d.saraswat@samsung.com>
Mon, 4 Jun 2018 07:33:05 +0000 (13:03 +0530)
The original patch has build error and this fixes the same.

Change-Id: I912029c37dd5085a2dd2792c3ac22485ab58bc19
Signed-off-by: deepti <d.saraswat@samsung.com>
atom/browser/browser.cc

index 7e87db2e70f4104b4c2bcaca475d21638364741c..fc2c7a4855d9fcf9c514bce824b1005f8be566a0 100644 (file)
@@ -303,8 +303,9 @@ void Browser::AppControl(std::unique_ptr<common::AppControl> appcontrol) {
     do_reset = false;
     SendAppControlEvent();
   }
-  if (do_reset)
+  if (do_reset) {
     //To do :Implementation of ClearViewStack(), SetupWebWindow(),SetupWebWindowCompatibilitySettings() function
+  }
 }
 
 void Browser::SendAppControlEvent() {