Title: [238032] trunk/Source/WebKitLegacy/win
Revision
238032
Author
[email protected]
Date
2018-11-09 08:42:49 -0800 (Fri, 09 Nov 2018)

Log Message

WebHistory.h: warning: 'QueryInterface' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
https://bugs.webkit.org/show_bug.cgi?id=191455

Reviewed by Brent Fulgham.

* WebHistory.h: Marked with 'override' and removed 'virtual'.

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/win/ChangeLog (238031 => 238032)


--- trunk/Source/WebKitLegacy/win/ChangeLog	2018-11-09 16:40:07 UTC (rev 238031)
+++ trunk/Source/WebKitLegacy/win/ChangeLog	2018-11-09 16:42:49 UTC (rev 238032)
@@ -1,3 +1,12 @@
+2018-11-09  Fujii Hironori  <[email protected]>
+
+        WebHistory.h: warning: 'QueryInterface' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
+        https://bugs.webkit.org/show_bug.cgi?id=191455
+
+        Reviewed by Brent Fulgham.
+
+        * WebHistory.h: Marked with 'override' and removed 'virtual'.
+
 2018-11-01  Sihui Liu  <[email protected]>
 
         Add a storage limit for IndexedDB

Modified: trunk/Source/WebKitLegacy/win/WebHistory.h (238031 => 238032)


--- trunk/Source/WebKitLegacy/win/WebHistory.h	2018-11-09 16:40:07 UTC (rev 238031)
+++ trunk/Source/WebKitLegacy/win/WebHistory.h	2018-11-09 16:42:49 UTC (rev 238032)
@@ -51,30 +51,30 @@
 
 public:
     // IUnknown
-    virtual HRESULT STDMETHODCALLTYPE QueryInterface(_In_ REFIID riid, _COM_Outptr_ void** ppvObject);
-    virtual ULONG STDMETHODCALLTYPE AddRef();
-    virtual ULONG STDMETHODCALLTYPE Release();
+    HRESULT STDMETHODCALLTYPE QueryInterface(_In_ REFIID riid, _COM_Outptr_ void** ppvObject) override;
+    ULONG STDMETHODCALLTYPE AddRef() override;
+    ULONG STDMETHODCALLTYPE Release() override;
 
     // IWebHistory
-    virtual HRESULT STDMETHODCALLTYPE optionalSharedHistory(_COM_Outptr_opt_ IWebHistory**);
-    virtual HRESULT STDMETHODCALLTYPE setOptionalSharedHistory(_In_opt_ IWebHistory*);
+    HRESULT STDMETHODCALLTYPE optionalSharedHistory(_COM_Outptr_opt_ IWebHistory**) override;
+    HRESULT STDMETHODCALLTYPE setOptionalSharedHistory(_In_opt_ IWebHistory*) override;
     HRESULT STDMETHODCALLTYPE unused1() override;
     HRESULT STDMETHODCALLTYPE unused2() override;
-    virtual HRESULT STDMETHODCALLTYPE addItems(int itemCount, __deref_in_ecount_opt(itemCount) IWebHistoryItem**);
-    virtual HRESULT STDMETHODCALLTYPE removeItems(int itemCount, __deref_in_ecount_opt(itemCount) IWebHistoryItem**);
-    virtual HRESULT STDMETHODCALLTYPE removeAllItems();
-    virtual HRESULT STDMETHODCALLTYPE orderedLastVisitedDays(_Inout_ int* count, _In_ DATE* calendarDates);
-    virtual HRESULT STDMETHODCALLTYPE orderedItemsLastVisitedOnDay(_Inout_ int* count, __deref_in_opt IWebHistoryItem** items, DATE calendarDate);
-    virtual HRESULT STDMETHODCALLTYPE itemForURL(_In_ BSTR url, _COM_Outptr_opt_ IWebHistoryItem**);
-    virtual HRESULT STDMETHODCALLTYPE setHistoryItemLimit(int);
-    virtual HRESULT STDMETHODCALLTYPE historyItemLimit(_Out_ int*);
-    virtual HRESULT STDMETHODCALLTYPE setHistoryAgeInDaysLimit(int);
-    virtual HRESULT STDMETHODCALLTYPE historyAgeInDaysLimit(_Out_ int*);
+    HRESULT STDMETHODCALLTYPE addItems(int itemCount, __deref_in_ecount_opt(itemCount) IWebHistoryItem**) override;
+    HRESULT STDMETHODCALLTYPE removeItems(int itemCount, __deref_in_ecount_opt(itemCount) IWebHistoryItem**) override;
+    HRESULT STDMETHODCALLTYPE removeAllItems() override;
+    HRESULT STDMETHODCALLTYPE orderedLastVisitedDays(_Inout_ int* count, _In_ DATE* calendarDates) override;
+    HRESULT STDMETHODCALLTYPE orderedItemsLastVisitedOnDay(_Inout_ int* count, __deref_in_opt IWebHistoryItem** items, DATE calendarDate) override;
+    HRESULT STDMETHODCALLTYPE itemForURL(_In_ BSTR url, _COM_Outptr_opt_ IWebHistoryItem**) override;
+    HRESULT STDMETHODCALLTYPE setHistoryItemLimit(int) override;
+    HRESULT STDMETHODCALLTYPE historyItemLimit(_Out_ int*) override;
+    HRESULT STDMETHODCALLTYPE setHistoryAgeInDaysLimit(int) override;
+    HRESULT STDMETHODCALLTYPE historyAgeInDaysLimit(_Out_ int*) override;
 
     // IWebHistoryPrivate
-    virtual HRESULT STDMETHODCALLTYPE allItems(_Inout_ int* count, __deref_opt_out IWebHistoryItem** items);
-    virtual HRESULT STDMETHODCALLTYPE setVisitedLinkTrackingEnabled(BOOL);
-    virtual HRESULT STDMETHODCALLTYPE removeAllVisitedLinks();
+    HRESULT STDMETHODCALLTYPE allItems(_Inout_ int* count, __deref_opt_out IWebHistoryItem** items) override;
+    HRESULT STDMETHODCALLTYPE setVisitedLinkTrackingEnabled(BOOL) override;
+    HRESULT STDMETHODCALLTYPE removeAllVisitedLinks() override;
 
     // WebHistory
     static WebHistory* sharedHistory();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to