Closed
Bug 1244726
Opened 9 years ago
Closed 9 years ago
Windows nsDownloadManager.cpp "error C2338" build bustage with --disable-safe-browsing set
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: RyanVM, Assigned: aleth)
References
Details
Attachments
(1 file)
(deleted),
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
Fallout from bug 1241764 apparently. Kyle, presumably an include issue?
mozilla-central\objdir-fx-64\dist\include\nsCOMPtr.h(394) : error C2338: nsCOMPtr only works for types with IIDs. Either use RefPtr; add an IID to your type with NS_DECLARE_STATIC_IID_ACCESSOR/NS_DEFINE_STATIC_IID_ACCESSOR; or make the nsCOMPtr point to a base class with an IID.
mozilla-central\objdir-fx-64\dist\include\nsCOMPtr.h(389) : while compiling class template member function 'void nsCOMPtr<mozIDOMWindowProxy>::assert_validity(void)'
mozilla-central\objdir-fx-64\dist\include\nsCOMPtr.h(430) : see reference to function template instantiation 'void nsCOMPtr<mozIDOMWindowProxy>::assert_validity(void)' being compiled
mozilla-central/toolkit/components/downloads/nsDownloadManager.cpp(2576) : see reference to class template instantiation 'nsCOMPtr<mozIDOMWindowProxy>' being compiled
Flags: needinfo?(khuey)
Looks like the same issue as bug 1241764 comment 9.
Flags: needinfo?(khuey)
Assignee | ||
Comment 2•9 years ago
|
||
Not sure this is the best solution, but here it is, fwiw.
Attachment #8714323 -
Flags: review?(khuey)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → aleth
Status: NEW → ASSIGNED
Attachment #8714323 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/16d38eb3a7546b02cf64618f81d0aadf200b919c
Bug 1244726 - Include mozIDOMWindow.h for nsDownloadManager. r=khuey
Comment 4•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•