Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0ed90782
Commit
0ed90782
authored
Jan 04, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: COM cleanup for the IHTMLStyle3 iface.
parent
6dcff905
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
42 deletions
+44
-42
htmlstyle.c
dlls/mshtml/htmlstyle.c
+1
-1
htmlstyle.h
dlls/mshtml/htmlstyle.h
+1
-2
htmlstyle3.c
dlls/mshtml/htmlstyle3.c
+42
-39
No files found.
dlls/mshtml/htmlstyle.c
View file @
0ed90782
...
...
@@ -576,7 +576,7 @@ static HRESULT WINAPI HTMLStyle_QueryInterface(IHTMLStyle *iface, REFIID riid, v
*
ppv
=
&
This
->
IHTMLStyle2_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle3
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle3 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLSTYLE3
(
This
)
;
*
ppv
=
&
This
->
IHTMLStyle3_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLStyle4
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLStyle4 %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLSTYLE4
(
This
);
...
...
dlls/mshtml/htmlstyle.h
View file @
0ed90782
...
...
@@ -20,7 +20,7 @@ struct HTMLStyle {
DispatchEx
dispex
;
IHTMLStyle
IHTMLStyle_iface
;
IHTMLStyle2
IHTMLStyle2_iface
;
const
IHTMLStyle3Vtbl
*
lpHTMLStyle3Vtbl
;
IHTMLStyle3
IHTMLStyle3_iface
;
const
IHTMLStyle4Vtbl
*
lpHTMLStyle4Vtbl
;
LONG
ref
;
...
...
@@ -28,7 +28,6 @@ struct HTMLStyle {
nsIDOMCSSStyleDeclaration
*
nsstyle
;
};
#define HTMLSTYLE3(x) ((IHTMLStyle3*) &(x)->lpHTMLStyle3Vtbl)
#define HTMLSTYLE4(x) ((IHTMLStyle4*) &(x)->lpHTMLStyle4Vtbl)
/* NOTE: Make sure to keep in sync with style_tbl in htmlstyle.c */
...
...
dlls/mshtml/htmlstyle3.c
View file @
0ed90782
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment